﻿<%@ Page Title="" Language="VB" MasterPageFile="~/KYC/MasterPageKYC.master" AutoEventWireup="false"
    CodeFile="IndividualCDD.aspx.vb" Inherits="KYC_IndividualCDD" %>
    <%@ Register Assembly="DevExpress.Web.v14.1, Version=14.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">   
    <script src="../Scripts/JScript.js" type="text/javascript"></script>  
    <script type="text/javascript">
     function myDialog() {
         
        var strNameTh1 = $("input[id$=txtNameTh1]").val().replace("&","|") ;
        var strNameTh2 = $("input[id$=txtNameTh2]").val().replace("&", "|");
        var strNameTh3 = $("input[id$=txtNameTh3]").val().replace("&", "|");
        var strNameEn1 = $("input[id$=txtNameEn1]").val().replace("&", "|");
        var strNameEn2 = $("input[id$=txtNameEn2]").val().replace("&", "|");
        var strNameEn3 = $("input[id$=txtNameEn3]").val().replace("&", "|"); 

        var returnvalue = null;
 
            returnvalue = window.showModalDialog('AMLList.aspx?uniqueID=' + $("input[id$=txtUniqueID]").val()
                + '&hdfUniqueID=' + $("#<%= hdfUniqueID.ClientID %>").val()
                + '&TranType=' + $("#<%= ddlTranType.ClientID %>").val()
                + '&UniqueType=' + $("#<%= ddlUniqueType.ClientID %>").val()
                + '&PrefixTH=' + $("#<%= ddlPrefixTH.ClientID %>").val()
                + '&NameTh1=' +strNameTh1
                + '&NameTh2=' + strNameTh2
                + '&NameTh3=' + strNameTh3
                + '&PrefixEN=' + $("#<%= ddlPrefixEN.ClientID %>").val()
                + '&NameEn1=' + strNameEn1
                + '&NameEn2=' + strNameEn2
                + '&NameEn3=' + strNameEn3
                + '&Nationality=' + $("#<%= ddlNationality.ClientID %>").val()
                + '&Occupation1=' + $("#<%= ddlOccupation1.ClientID %>").val()
                + '&OccOther1=' + $("input[id$=txtOccOther1]").val()
                + '&Business1=' + $("#<%= ddlBusiness1.ClientID %>").val()
                + '&BizOther1=' + $("input[id$=txtBizOther1]").val()
                + '&Des1=' + $("input[id$=txtDes1]").val()
                + '&Occupation2=' + $("#<%= ddlOccupation2.ClientID %>").val()
                + '&OccOther2=' + $("input[id$=txtOccOther2]").val()
                + '&Business2=' + $("#<%= ddlBusiness2.ClientID %>").val()
                + '&BizOther2=' + $("input[id$=txtBizOther2]").val()
                + '&Des2=' + $("input[id$=txtDes2]").val()
                + '&Occupation3=' + $("#<%= ddlOccupation3.ClientID %>").val()
                + '&OccOther3=' + $("input[id$=txtOccOther3]").val()
                + '&Business3=' + $("#<%= ddlBusiness3.ClientID %>").val()
                + '&BizOther3=' + $("input[id$=txtBizOther3]").val()
                + '&Des3=' + $("input[id$=txtDes3]").val()
                + '&IncomeSource1=' + $("#<%= ddlIncomeSource1.ClientID %>").val()
                + '&IncomeSource2=' + $("#<%= ddlIncomeSource2.ClientID %>").val()
                + '&IncomeSource3=' + $("#<%= ddlIncomeSource3.ClientID %>").val()
                , null, 'status:no; dialogWidth:1000px; dialogHeight:600px; help:no; scroll:yes; menubar:no; resizable:no');

            if (returnvalue != null) {
                var values = returnvalue.split(";");  // return กลับมาหลายค่าแบ่งด้วย ";"
                document.getElementById("<%=hdfLevel.ClientID%>").value = values[0];
            }

        }

        //Pramote ''''''''''''''''''''''''''''''''''''''''
        function ValidBefore_Submit() {
            //
            if ($("#<%= txtID_CARD_ISSUE_DD.ClientID %>").val() == "") {
                alert(" กรุณาป้อนวันที่...");
                $("#<%= txtID_CARD_ISSUE_DD.ClientID %>").focus();
                return false;
            }
            return true;
        }
        //Pramote ''''''''''''''''''''''''''''''''''''''''

        var hasSubmitted = 0;
        function NoDoubleSubmit() {
           
            var divMsg = document.getElementById('Processing');
            if (hasSubmitted == 0) {
                hasSubmitted = 0;
                divMsg.style.display = 'block';
                return true;
            }
           return false;
            
        }

        var prm = Sys.WebForms.PageRequestManager.getInstance();

        prm.add_initializeRequest(InitializeRequest);
        prm.add_endRequest(EndRequest);

        function InitializeRequest(sender, args) {
            $get('ContentPlaceHolder1_UpdatePanel1').style.cursor = 'wait';
        }

        function EndRequest(sender, args) {
            $get('ContentPlaceHolder1_UpdatePanel1').style.cursor = 'auto';
        }

        // Created by Ball on Nov 07, 2014 11.00 am
        function setAmlistParam() {
            $("input[id$=hdfCID]").val($("input[id$=txtUniqueID]").val());
            $("input[id$=hdfPassport]").val($("input[id$=txtPASSPORT_NO]").val());
            $("input[id$=hdfNameTH1]").val($("input[id$=txtNameTh1]").val());
            $("input[id$=hdfNameTH2]").val($("input[id$=txtNameTh2]").val());
            $("input[id$=hdfNameTH3]").val($("input[id$=txtNameTh3]").val());
            $("input[id$=hdfNameEN1]").val($("input[id$=txtNameEn1]").val());
            $("input[id$=hdfNameEN2]").val($("input[id$=txtNameEn2]").val());
            $("input[id$=hdfNameEN3]").val($("input[id$=txtNameEn3]").val());
            return true;
        }


        function setAmlistParam_Passport() {
            $("input[id$=hdfCID]").val($("input[id$=txtUniqueID]").val());
            $("input[id$=hdfPassport]").val($("input[id$=txtPASSPORT_NO]").val());
            $("input[id$=hdfNameTH1]").val($("input[id$=txtNameTh1]").val());
            $("input[id$=hdfNameTH2]").val($("input[id$=txtNameTh2]").val());
            $("input[id$=hdfNameTH3]").val($("input[id$=txtNameTh3]").val());
            $("input[id$=hdfNameEN1]").val($("input[id$=txtNameEn1]").val());
            $("input[id$=hdfNameEN2]").val($("input[id$=txtNameEn2]").val());
            $("input[id$=hdfNameEN3]").val($("input[id$=txtNameEn3]").val());
            return true;
        }

        function setAmlistParam_BO() {
            $("input[id$=hdfCID]").val($("input[id$=txtBO_uniqueID]").val());
            $("input[id$=hdfPassport]").val($("input[id$=txtBO_PASSPORT_NO]").val());
            $("input[id$=hdfNameTH1]").val($("input[id$=txtBO_FIRSTNAME_TH]").val());
            $("input[id$=hdfNameTH2]").val($("input[id$=txtBO_MIDNAME_TH]").val());
            $("input[id$=hdfNameTH3]").val($("input[id$=txtBO_LASTNAME_TH]").val());
            $("input[id$=hdfNameEN1]").val($("input[id$=txtBO_FIRSTNAME_EN]").val());
            $("input[id$=hdfNameEN2]").val($("input[id$=txtBO_MIDNAME_EN]").val());
            $("input[id$=hdfNameEN3]").val($("input[id$=txtBO_LASTNAME_EN]").val());

            return true;
        }

        function setAmlistParam_FAMILY() {
            $("input[id$=hdfCID]").val($("input[id$=txtFAM_UNIQUEID]").val());
            $("input[id$=hdfPassport]").val($("input[id$=txtFAM_PASSPORT_NO]").val());
            $("input[id$=hdfNameTH1]").val($("input[id$=txtFAM_FIRSTNAME_TH]").val());
            $("input[id$=hdfNameTH2]").val($("input[id$=txtFAM_MIDNAME_TH]").val());
            $("input[id$=hdfNameTH3]").val($("input[id$=txtFAM_LASTNAME_TH]").val());
            $("input[id$=hdfNameEN1]").val($("input[id$=txtFAM_FIRSTNAME_EN]").val());
            $("input[id$=hdfNameEN2]").val($("input[id$=txtFAM_MIDNAME_EN]").val());
            $("input[id$=hdfNameEN3]").val($("input[id$=txtFAM_LASTNAME_EN]").val());

            return true;
        }

        // Created by Ball on Nov 07, 2014 11.00 am
        function popAMListWindow() {
            var strUniquedId = $("input[id$=hdfCID]").val();
            var strPassportId = $("input[id$=hdfPassport]").val();
            var strNameTh1 = $("input[id$=hdfNameTH1]").val().replace("&", "|");
            var strNameTh2 = $("input[id$=hdfNameTH2]").val().replace("&", "|");
            var strNameTh3 = $("input[id$=hdfNameTH3]").val().replace("&", "|");
            var strNameEn1 = $("input[id$=hdfNameEN1]").val().replace("&", "|");
            var strNameEn2 = $("input[id$=hdfNameEN2]").val().replace("&", "|");
            var strNameEn3 = $("input[id$=hdfNameEN3]").val().replace("&", "|");

            var allString = $("input[id$=hdfCID]").val() +
                            $("input[id$=hdfPassport]").val() +
                            $("input[id$=hdfNameTH1]").val() +
                            $("input[id$=hdfNameTH2]").val() +
                            $("input[id$=hdfNameTH3]").val() +
                            $("input[id$=hdfNameEN1]").val() +
                            $("input[id$=hdfNameEN2]").val() +
                            $("input[id$=hdfNameEN3]").val()

            var isValid = true;
            if (allString.toString() == "") {
                isValid = false;
            }

            var returnvalue = null;

            if (isValid) {
                returnvalue = window.showModalDialog('AMLList.aspx?uniqueID=' + strUniquedId
                + '&passportID=' + strPassportId
                + '&NameTh1=' + strNameTh1
                + '&NameTh2=' + strNameTh2
                + '&NameTh3=' + strNameTh3
                + '&NameEn1=' + strNameEn1
                + '&NameEn2=' + strNameEn2
                + '&NameEn3=' + strNameEn3

                , null, 'status:no; dialogWidth:1000px; dialogHeight:600px; help:no; scroll:yes; menubar:no; resizable:no');
            }
            else {
                alert("กรุณาป้อนเลขที่บัตรประชาชนหรือหนังสือเดินสำหรับการตรวจกรองรายชื่อ");
            }

            if (returnvalue != null) {
                var values = returnvalue.split(";");  // return กลับมาหลายค่าแบ่งด้วย ";"
                document.getElementById("<%=hdfLevel.ClientID%>").value = values[0];
            }
        }
        // Created by Ball on Nov 07, 2014 11.00 am

        // Function NumberOnly(e) Created by Boy on Nov 21, 2014 11.00 am
        function NumberOnly(e) {

            if ((e.keyCode >= 48 && e.keyCode <= 57) || (e.keyCode == 8)) {
                return true;
            }
            else {
                return false;
            }
        }
        // Function NumberOnly(e) Created by Boy on Nov 21, 2014 11.00 am

        // Function EngOnly(e) is copied from ... on Nov 24, 2014 
        function EngOnly(e) {

            if ((e.keyCode >= 65 && e.keyCode <= 122) || (e.keyCode == 8)) {
                return true;
            }
            else {
                return false;
            }
        }
        // Function EngOnly(e) is copied from ... on Nov 24, 2014 



        var result;
        function CheckAuthorize() {
            var isReqAuth = false;

            var passportAuth = document.getElementById('<%=lblAuthor_Req_Passport.ClientID %>');
            var passportOwn = document.getElementById('<%=lblAuth_By_Passport.ClientID %>');

            var othDocAuth = document.getElementById('<%=lblAuthor_Req_Oth_Doc.ClientID %>');
            var othDocOwn = document.getElementById('<%=lblAuth_By_Oth_Doc.ClientID %>');

            var nationAuth = document.getElementById('<%=lblAuthor_Req_Nation.ClientID %>');
            var nationOwn = document.getElementById('<%=lblAuth_By_Nation.ClientID %>');

            var scanListAuth = document.getElementById('<%=lblAuthor_Req_SancList.ClientID %>');
            var scanListOwn = document.getElementById('<%=lblAuth_By_SancList.ClientID %>');

            var PoliticAuth = document.getElementById('<%=lblAuthor_Req_Politic.ClientID %>');
            var PoliticOwn = document.getElementById('<%=lblAuth_By_Politic.ClientID %>');

            var OccupationAuth = document.getElementById('<%=lblAuthor_Req_Occupation.ClientID %>');
            var OccupationOwn = document.getElementById('<%=lblAuth_By_Occupation.ClientID %>');

            var SOIAuth = document.getElementById('<%=lblAuthor_Req_SOI.ClientID %>');
            var SOIOwn = document.getElementById('<%=lblAuth_By_SOI.ClientID %>');


            var arrAuth = [passportAuth.innerText, othDocAuth.innerText, nationAuth.innerText, scanListAuth.innerText, PoliticAuth.innerText, OccupationAuth.innerText, SOIAuth.innerText];
            var arrOwn = [passportOwn.innerText, othDocOwn.innerText, nationOwn.innerText, scanListOwn.innerText, PoliticOwn.innerText, OccupationOwn.innerText, SOIOwn.innerText];

            for (var i = 0; i < arrAuth.length; i++) {
                if (arrAuth[i] == "Y" && arrOwn[i] == "None") {
                    isReqAuth = true;
                    break;
                }
            }

            if (isReqAuth == true) {
                result = window.open('IndividualCDDPopup.aspx', '', 'scrollbars=yes,menubar=no,width=500,height=300, resizable=yes,toolbar=no,location=no,status=no');

                var winClosed = setInterval(function () {

                    if (result.closed) {
                        clearInterval(winClosed);
                        SetAuthorize(); //Call your function here                        
                    }


                }, 250);

                result.focus();
                document.onmousedown = focusPopup;
                document.onmousemove = focusPopup;
            }
            return !isReqAuth;
        }

        function focusPopup() {
            if (result && !result.closed) { result.focus(); }
        }

        window.onbeforeunload = function () {
            if (result && !result.closed) { result.close(); }
        }

        function SetAuthorize() {
            var passportAuth = document.getElementById('<%=lblAuthor_Req_Passport.ClientID %>');
            var passportOwn = document.getElementById('<%=lblAuth_By_Passport.ClientID %>');

            var othDocAuth = document.getElementById('<%=lblAuthor_Req_Oth_Doc.ClientID %>');
            var othDocOwn = document.getElementById('<%=lblAuth_By_Oth_Doc.ClientID %>');

            var nationAuth = document.getElementById('<%=lblAuthor_Req_Nation.ClientID %>');
            var nationOwn = document.getElementById('<%=lblAuth_By_Nation.ClientID %>');

            var scanListAuth = document.getElementById('<%=lblAuthor_Req_SancList.ClientID %>');
            var scanListOwn = document.getElementById('<%=lblAuth_By_SancList.ClientID %>');

            var PoliticAuth = document.getElementById('<%=lblAuthor_Req_Politic.ClientID %>');
            var PoliticOwn = document.getElementById('<%=lblAuth_By_Politic.ClientID %>');

            var OccupationAuth = document.getElementById('<%=lblAuthor_Req_Occupation.ClientID %>');
            var OccupationOwn = document.getElementById('<%=lblAuth_By_Occupation.ClientID %>');

            var SOIAuth = document.getElementById('<%=lblAuthor_Req_SOI.ClientID %>');
            var SOIOwn = document.getElementById('<%=lblAuth_By_SOI.ClientID %>');

            var txtApprove = document.getElementById('txtApprove').value;
            var txtAuthorizeOwner = document.getElementById('txtAuthorizeOwner').value;
            var txtApproveDate = document.getElementById('txtApproveDate').value;
            var hdApprove = document.getElementById('<%=hdApproveValue.ClientID %>');
            var hdAuthorizeOwner = document.getElementById('<%=hdAuthorizeOwner.ClientID %>');

            var arrAuth = [passportAuth, othDocAuth, nationAuth, scanListAuth, PoliticAuth, OccupationAuth, SOIAuth];
            var arrOwn = [passportOwn, othDocOwn, nationOwn, scanListOwn, PoliticOwn, OccupationOwn, SOIOwn];

            // หากยืนยันสำเร็จ = Set ที่มีการแก้ไขทุกตัวให้เป็น Y กับ ชื่อคน Login ที่แก้ไข
            if (txtApprove == "Y") {
                for (var i = 0; i < arrAuth.length; i++) {
                    if (arrAuth[i].innerText == "Y" && arrOwn[i].innerText == "None") {
                        arrAuth[i].innerText = txtApprove;
                        arrOwn[i].innerText = txtAuthorizeOwner;

                        hdApprove.value = txtApprove;
                        hdAuthorizeOwner.value = txtAuthorizeOwner;
                    }
                }
            }
        }
    
    </script>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Panel ID="Panel1" runat="server">
             
                <table style="width: 100%; display: none; visibility: hidden;" class="control" border="0" 
                    cellpadding="0" cellspacing="0">
                    <tr>
                        <td style="width: 16px">
                        </td>
                        <td style="width: 150px; text-align: right">
                        </td>
                        <td colspan="7" style="text-align: right">
                            &nbsp;</td>
                    </tr>
                    <tr bgcolor="#FF9933">
                        <td colspan="9" style="text-align: center">
                            <strong>ข้อมูลลูกค้าเพื่อประเมินความเสี่ยง</strong>
                        </td>
                    </tr>
                    <tr bgcolor="#FDF6DA">
                        <td style="width: 16px">
                            <asp:Image ID="Image11" runat="server" ImageUrl="~/img/icon/accept.png" Visible="False" />
                        </td>
                        <td style="width: 150px; text-align: right">
                            ประเภทลูกค้า :
                        </td>
                        <td colspan="7">
                            <asp:DropDownList ID="ddlTranType" runat="server" BackColor="#FFCCCC" CssClass="control"
                                Width="200px">
                                <asp:ListItem></asp:ListItem>
                                <asp:ListItem Value="1" Selected="True" >ลูกค้าธนาคาร</asp:ListItem>
                                <asp:ListItem Value="2">ลูกค้าขาจร</asp:ListItem>
                                <asp:ListItem Value="3">ผู้จัดการกองทุน</asp:ListItem>
                                <asp:ListItem Value="4">ผู้ถือหุ้น</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 16px">
                            <asp:Image ID="Image1" runat="server" ImageUrl="~/img/icon/accept.png" Visible="False" />
                        </td>
                        <td style="width: 150px; text-align: right">
                            ชนิดบัตร :
                        </td>
                        <td colspan="7" bgcolor="White">
                            <asp:DropDownList ID="ddlUniqueType" runat="server" BackColor="#FFCCCC" CssClass="control"
                                Width="200px">
                            </asp:DropDownList>
                            &nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:HiddenField ID="hdfUniqueID" runat="server" Value="0" />
                            <asp:HiddenField ID="hdfApprCode_MCus" runat="server" />
                        </td>
                    </tr>
                </table>
                <asp:UpdatePanel ID="UpdatePanel5" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>

                    <table style="padding: 5px; width: 100%;" class="control" border="0" 
                            cellpadding="0" cellspacing="0">
                            <tr>
                                <td style="height: 30px;" colspan="7">
                                    &nbsp;</td>
                            </tr>
                            <tr align="center" bgcolor="#FF9933">
                                <td colspan="7" style="height: 30px;">
                                    <strong>ข้อมูลลูกค้าเพื่อประเมินความเสี่ยง</strong></td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td colspan="1" style="padding: 5px" align="right">
                                    1</td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    เลขประจำตัวลูกค้า ระบบ CBS<br /> 
                                    <strong style="font-size: 10px">CBS CIF Number</strong></td>
                                <td align="left" style="padding: 5px;">
                                    &nbsp;&nbsp;
                                    <asp:TextBox ID="lblCIF_CBS_NO" runat="server" MaxLength="20" ReadOnly="True"></asp:TextBox>
                                </td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    เลขประจำตัวลูกค้า ระบบ FDR<br /> <strong style="font-size: 10px">FDR CIF Number</strong></td>
                                <td align="left" style="padding: 5px;" colspan="1">
                                    <asp:TextBox ID="txtCIF_FDR_NO" runat="server" MaxLength="20" ReadOnly="True"></asp:TextBox>
                                </td>
                                <td align="right" style="padding: 5px;">
                                    เลขประจำตัวลูกค้า ระบบ NPA<br /> <strong style="font-size: 10px">NPA CIF Number</strong></td>
                                <td align="left" style="padding: 5px">
                                    <asp:TextBox ID="txtCIF_NPA_NO" runat="server" MaxLength="20" ReadOnly="True"></asp:TextBox>
                                </td>
                            </tr>
                           
                            <tr>
                                <td colspan="1" style="padding: 5px" align="right">
                                    2</td>
                                <td align="right" style="padding: 5px;" colspan="6">
                                    <table class="dxflInternalEditorTable">
                                        <tr>
                                            <td style="width: 10%">
                                                &nbsp;เลขที่บัตรประจำตัวประชาชน<br /> <strong style="font-size: 10px">Thai National 
                                                ID Card Number</strong></td>

                                            <td align="left">
                                                <asp:TextBox ID="txtUniqueID" runat="server" BackColor="#FFCCCC" CssClass="control"
                                                    Height="20px" MaxLength="13" Width="150px" onkeypress="javascript:return NumberOnly(event);"></asp:TextBox>
                                                <asp:Button ID="btnVALIDATE_IDCARD_NO" runat="server" Height="20px" Text="..." Visible="False"
                                                    Width="20px" />
                                            </td>

                                            <td style="width: 5%">
                                                วันที่ออก<br /> <strong style="font-size: 10px">Date of issue</strong></td>
                                            <td align="left" style="width: 15%">
                                                <asp:TextBox ID="txtID_CARD_ISSUE_DD" runat="server" BackColor="#FFCCCC" MaxLength="2"
                                                    Width="20px" onkeypress="javascript:return NumberOnly(event);"></asp:TextBox>
                                                &nbsp; /&nbsp;
                                                <asp:TextBox ID="txtID_CARD_ISSUE_MM" runat="server" BackColor="#FFCCCC" MaxLength="2"
                                                    Width="20px" onkeypress="javascript:return NumberOnly(event);"></asp:TextBox>
                                                &nbsp; /&nbsp;
                                                <asp:TextBox ID="txtID_CARD_ISSUE_YYYY" runat="server" BackColor="#FFCCCC" MaxLength="4"
                                                    Width="35px" onkeypress="javascript:return NumberOnly(event);"></asp:TextBox>
                                                <asp:Label ID="txtID_CARD_ISSUE_DATE_TH" runat="server" Text="TH" Visible="False"></asp:Label>
                                                <asp:Label ID="txtID_CARD_ISSUE_DATE_EN" runat="server" Font-Size="Smaller" Text="DD/MM/YYYY"></asp:Label>
                                                <asp:Label ID="txtID_CARD_ISSUE_DATE_EN_CHK" runat="server" Font-Size="Smaller" Text="DD/MM/YYYY"
                                                    Visible="False"></asp:Label>
                                            </td>

                                            <td style="width: 5%">
                                                วันที่หมดอายุ<br /> <strong style="font-size: 10px">Date of expiry</strong></td>

                                            <td align="left" style="width: 20%">
                                                <asp:TextBox ID="txtID_CARD_EXP_DD" runat="server" BackColor="#FFCCCC" 
                                                    MaxLength="2" Width="20px" onkeypress="javascript:return NumberOnly(event);"></asp:TextBox>
                                                &nbsp; /&nbsp;
                                                <asp:TextBox ID="txtID_CARD_EXP_MM" runat="server" BackColor="#FFCCCC" 
                                                    MaxLength="2" Width="20px" onkeypress="javascript:return NumberOnly(event);"></asp:TextBox>
                                                &nbsp; /&nbsp;
                                                <asp:TextBox ID="txtID_CARD_EXP_YYYY" runat="server" BackColor="#FFCCCC" 
                                                    MaxLength="4" Width="35px" onkeypress="javascript:return NumberOnly(event);"></asp:TextBox>
                                                <asp:Label ID="txtID_CARD_EXP_DATE_TH" runat="server" Text="TH" Visible="False"></asp:Label>
                                                <asp:Label ID="txtID_CARD_EXP_DATE_EN" runat="server" Font-Size="Smaller" 
                                                    Text="DD/MM/YYYY"></asp:Label>
                                                <asp:Label ID="txtID_CARD_EXP_DATE_EN_CHK" runat="server" Font-Size="Smaller" 
                                                    Text="DD/MM/YYYY" Visible="False"></asp:Label>
                                                <asp:Label ID="lblFLAG_ID_CARD_WL" runat="server" Text="N" Visible="False"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 10%">
                                                &nbsp;</td>
                                            <td align="left" style="width: 10%">
                                                &nbsp;</td>
                                            <td style="width: 5%">
                                                &nbsp;</td>
                                            <td align="left" style="width: 15%">
                                                &nbsp;</td>
                                            <td style="width: 5%">
                                                &nbsp;</td>
                                            <td align="left" style="width: 20%">
                                                <asp:CheckBox ID="chkExpire_None" runat="server" AutoPostBack="True" 
                                                    Text="ตลอดชีพ Permanent license" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 10%">
                                                &nbsp;</td>
                                            <td align="left" style="width: 10%">
                                                &nbsp;</td>
                                            <td style="width: 5%">
                                                &nbsp;</td>
                                            <td align="left" style="width: 15%">
                                                &nbsp;</td>
                                            <td style="width: 5%">
                                                &nbsp;</td>
                                            <td align="left" style="width: 20%">
                                                &nbsp;</td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>

                            <tr bgcolor="#FDF6DA">
                                <td colspan="1" style="padding: 5px; height: 71px;" align="right">
                                    &nbsp;3</td>
                                <td align="right" style="padding: 5px; height: 71px;" colspan="6">
                                    <table class="dxflInternalEditorTable" style="height: 100%;">
                                        <tr>
                                            <td style="width: 10%">
                                                เลขที่หนังสือเดินทาง<br />
                                                <strong style="font-size: 10px">Passport Number</strong>
                                            </td>
                                            <td align="left" style="width: 10%">
                                                <asp:TextBox ID="txtPASSPORT_NO" runat="server" CssClass="control" Height="20px"
                                                    MaxLength="22" Width="200px"></asp:TextBox>
                                            </td>
                                            <td style="width: 5%">
                                                วันที่ออก<br />
                                                <strong style="font-size: 10px">Date of issue</strong>
                                            </td>
                                            <td align="left" style="width: 15%">
                                                <asp:TextBox ID="txtPASSPORT_ISSUE_DD" runat="server" MaxLength="2" Width="20px"
                                                    onkeypress="javascript:return NumberOnly(event);"></asp:TextBox>
                                                &nbsp; /
                                                <asp:TextBox ID="txtPASSPORT_ISSUE_MM" runat="server" MaxLength="2" Width="20px"
                                                    onkeypress="javascript:return NumberOnly(event);"></asp:TextBox>
                                                &nbsp; /
                                                <asp:TextBox ID="txtPASSPORT_ISSUE_YYYY" runat="server" MaxLength="4" Width="35px"
                                                    onkeypress="javascript:return NumberOnly(event);"></asp:TextBox>
                                                <asp:Label ID="txtPASSPORT_ISSUE_DATE_TH" runat="server" Text="TH" Visible="False"></asp:Label>
                                                &nbsp;&nbsp;
                                                <asp:Label ID="txtPASSPORT_ISSUE_DATE_EN" runat="server" Font-Size="Smaller" Text="DD/MM/YYYY"></asp:Label>
                                                <asp:Label ID="txtPASSPORT_ISSUE_DATE_EN_Chk" runat="server" Font-Size="Smaller"
                                                    Text="DD/MM/YYYY" Visible="False"></asp:Label>
                                                &nbsp;
                                            </td>
                                            <td style="width: 5%">
                                                วันที่หมดอายุ<br />
                                                <strong style="font-size: 10px">Date of expiry</strong>
                                            </td>
                                            <td align="left" style="width: 20%">
                                                &nbsp;<asp:TextBox ID="txtPASSPORT_EXP_DD" runat="server" BackColor="White" MaxLength="2"
                                                    Width="20px"></asp:TextBox>
                                                &nbsp;/
                                                <asp:TextBox ID="txtPASSPORT_EXP_MM" runat="server" BackColor="White" MaxLength="2"
                                                    Width="20px"></asp:TextBox>
                                                &nbsp;/
                                                <asp:TextBox ID="txtPASSPORT_EXP_YYYY" runat="server" BackColor="White" MaxLength="4"
                                                    Width="35px"></asp:TextBox>
                                                <asp:Button ID="btAddPassport" runat="server" Text="เพิ่ม" />
                                                <asp:Button ID="btDelPassport" runat="server" OnClientClick="return confirm('ยืนยันการลบข้อมูล');"
                                                    Text="ลบ" />
                                                <asp:Button ID="btnFilter_PASSPORT" runat="server" Text="ตรวจกรองรายชื่อ" 
                                                    Width="130px" />
                                                <br />
                                                <asp:Label ID="txtPASSPORT_EXP_DATE_TH" runat="server" Text="TH" Visible="False"></asp:Label>
                                                &nbsp;<asp:Label ID="txtPASSPORT_EXP_DATE_EN" runat="server" Font-Size="Smaller"
                                                    Text="DD/MM/YYYY"></asp:Label>
                                                <asp:Label ID="txtPASSPORT_EXP_DATE_EN_CHK" runat="server" Font-Size="Smaller" Text="DD/MM/YYYY"
                                                    Visible="False"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 10%">
                                                <asp:Label ID="Label24" runat="server" ForeColor="Black" Text="ผลการตรวจกรอง"></asp:Label>
                                            </td>
                                            <td align="left" style="width: 10%">
                                                <asp:Label ID="lblFILTER_RESULT_PASSPORT" runat="server" ForeColor="Blue"></asp:Label>
                                            </td>
                                            <td style="width: 5%">
                                                &nbsp;</td>
                                            <td align="left" style="width: 15%">
                                                <asp:Label ID="lblRISK_LEVEL_PASSPORT" runat="server" ForeColor="Blue" 
                                                    Text="0"></asp:Label>
                                            </td>
                                            <td style="width: 5%">
                                                &nbsp;</td>
                                            <td align="left" style="width: 20%">
                                                &nbsp;</td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td align="right" colspan="1" style="padding: 5px; vertical-align: top;">
                                    4</td>
                                <td align="right" colspan="1" style="padding: 5px; vertical-align: top;">
                                    &nbsp;</td>
                                <td colspan="4" style="padding: 5px">
                                    <asp:GridView ID="grdPassport" runat="server" CellPadding="4" ForeColor="#333333"
                                        AutoGenerateColumns="False" Width="700px"
                                        ShowHeaderWhenEmpty="True">
                                        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                                        <Columns>
                                            <asp:CommandField ButtonType="Image" SelectImageUrl="~/img/icon/select_icon.gif" ShowSelectButton="True">
                                                <ItemStyle Width="60px" HorizontalAlign="Center" />
                                            </asp:CommandField>

                                            <asp:BoundField HeaderText="เลขที่หนังสือเดินทาง" DataField="PASSPORT_NO">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle Width="150px" HorizontalAlign="Center" />
                                            </asp:BoundField>
                                       
                                            <asp:BoundField HeaderText="วันที่ออก" DataField="ISSUE_DATE">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>

                                            <asp:BoundField HeaderText="วันที่หมดอายุ" DataField="EXPIRE_DATE">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                           
                                            <asp:BoundField DataField="FILTER_RESULT" HeaderText="ผลการตรวจกรอง">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="120px" />
                                            </asp:BoundField>
                                          
                                            <asp:BoundField DataField="RISK_LEVEL" HeaderText="ระดับความเสี่ยง">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                                            </asp:BoundField>

                                            <asp:TemplateField HeaderText="Active">
                                                <ItemTemplate>
                                                    <asp:CheckBox ID="chActivePassport" runat="server" 
                                                        AutoPostBack="True" 
                                                        oncheckedchanged="chActivePassport_CheckedChanged" 
                                                        Checked='<%# eval("ACTIVE") %>' />
                                                </ItemTemplate>

                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="50px" />
                                            </asp:TemplateField>
                                        </Columns>
                                        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                                        <PagerSettings Mode="NumericFirstLast" />
                                        <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" CssClass="cssPager" />
                                        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                                        <HeaderStyle BackColor="#FF9933" Font-Bold="True" ForeColor="White" />
                                        <AlternatingRowStyle BackColor="White" />
                                    </asp:GridView>
                                    <asp:Label ID="lblCount_Passport" runat="server" Text="0"></asp:Label>
                                    &nbsp;รายการ</td>
                                <td style="padding: 5px; vertical-align: top;">
                                    Authorization<br /> <strong style="font-size: 10px">Required &nbsp;&nbsp;&nbsp; </strong> 
                                    <asp:Label ID="lblAuthor_Req_Passport" runat="server" BackColor="#FDF6DA" 
                                        BorderStyle="None" ForeColor="#FF3300" Text="N" Width="10px"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                    <asp:Label ID="lblAuth_By_Passport" runat="server" bgcolor="#FDF6DA" 
                                        BorderStyle="None" ForeColor="#FF3300" Text="None" Width="40%"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="1" style="padding: 5px" align="right">
                                    5</td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    เอกสารสำคัญประจำตัวบุคคลอื่นๆ<br /> <strong style="font-size: 10px">Other 
                                    Identity Documents</strong></td>
                                <td style="padding: 5px">
                                    <asp:DropDownList ID="DdOtherID" runat="server" Width="250px">
                                    </asp:DropDownList>
                                </td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    เลขที่<br /> <strong style="font-size: 10px">Number</strong></td>
                                <td colspan="3" style="padding: 5px">
                                    <asp:TextBox ID="txtOTH_DOC_CARDID" runat="server" CssClass="control" Height="20px" 
                                        MaxLength="21" Width="150px"></asp:TextBox>
                                    <asp:Button ID="btAddOtherID" runat="server" Text="เพิ่ม" />
                                    <asp:Button ID="btDelOtherID" runat="server" Text="ลบ" OnClientClick="return confirm('ยืนยันการลบข้อมูล');" />
                                </td>
                            </tr>
                            <tr>
                                <td align="right" colspan="1" style="padding: 5px; vertical-align: top;">
                                    6</td>
                                <td align="right" colspan="1" style="padding: 5px;">
                                    &nbsp;</td>
                                <td colspan="4" style="padding: 5px">
                                    <asp:GridView ID="grdOtherID" runat="server"
                                        AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" 
                                        ShowHeaderWhenEmpty="True" Width="500px">
                                        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                                        <Columns>
                                         
                                            <asp:CommandField ButtonType="Image" SelectImageUrl="~/img/icon/select_icon.gif" ShowSelectButton="True">
                                                <ItemStyle HorizontalAlign="Center" Width="60px" />
                                            </asp:CommandField>
                                              
                                            <asp:BoundField DataField="OTH_DOC_NAME" HeaderText="ปรเภทเอกสาร">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="150px" />
                                            </asp:BoundField>                                                                               

                                            <asp:BoundField DataField="OTH_DOC_ID" HeaderText="รหัส" 
                                                 HeaderStyle-CssClass="hidden" ItemStyle-CssClass="hidden" >
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="50px" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="OTH_DOC_CARDID" HeaderText="เลขที่">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>

                                            <asp:TemplateField HeaderText="Active">
                                                <ItemTemplate>
                                                    <asp:CheckBox ID="chACT_OTH_DOC" runat="server" Checked='<%# eval("ACTIVE") %>' 
                                                        AutoPostBack="True" 
                                                        oncheckedchanged="chACT_OTH_DOC_CheckedChanged" />
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="50px" />
                                            </asp:TemplateField>

                                        </Columns>
                                        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                                        <PagerSettings Mode="NumericFirstLast" />
                                        <PagerStyle BackColor="#FFCC66" CssClass="cssPager" ForeColor="#333333" 
                                            HorizontalAlign="Center" />
                                        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                                        <HeaderStyle BackColor="#FF9933" Font-Bold="True" ForeColor="White" />
                                        <AlternatingRowStyle BackColor="White" />
                                    </asp:GridView>
                                    <asp:Label ID="lblCount_Oth_Doc" runat="server" Text="0"></asp:Label>
                                    &nbsp;รายการ</td>

                                <td style="padding: 5px">
                                    Authorization<br /> <strong style="font-size: 10px">Required &nbsp;&nbsp;&nbsp; </strong>
                                    <asp:Label ID="lblAuthor_Req_Oth_Doc" runat="server" BackColor="White" 
                                        BorderStyle="None" ForeColor="#FF3300" Text="N" Width="10px"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                    <asp:Label ID="lblAuth_By_Oth_Doc" runat="server" bgcolor="#FDF6DA" 
                                        BorderStyle="None" ForeColor="#FF3300" Text="None" Width="40%"></asp:Label>
                                </td>

                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td colspan="1" style="padding: 5px" align="right">
                                    7</td>
                                <td align="left" style="padding: 5px;" colspan="1">
                                    ชื่อลูกค้า</td>
                                <td style="padding: 5px">
                                    &nbsp;</td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    &nbsp;</td>
                                <td style="padding: 5px;" colspan="1">
                                    &nbsp;</td>
                                <td align="right" style="padding: 5px;">
                                    &nbsp;</td>
                                <td style="padding: 5px">
                                    &nbsp;</td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td align="right" colspan="1" style="padding: 5px; height: 47px;">
                                    &nbsp;</td>
                                <td align="right" colspan="6" style="padding: 5px; height: 47px;">
                                    <table class="dxflInternalEditorTable">
                                        <tr>
                                            <td style="width: 10%">
                                                คำนำหน้าชื่อ
                                            </td>
                                            <td align="left" style="width: 10%">
                                                &nbsp;<asp:DropDownList ID="ddlPrefixTH" runat="server" AutoPostBack="true" BackColor="#FFCCCC"
                                                    CssClass="control" Width="150px">
                                                </asp:DropDownList>
                                            </td>
                                            <td style="width: 8%">
                                                ชื่อ :
                                            </td>
                                            <td align="left" style="width: 15%">
                                                <asp:TextBox ID="txtNameTh1" runat="server" BackColor="#FFCCCC" CssClass="control"
                                                    Height="20px" MaxLength="100" Width="150px"></asp:TextBox>
                                            </td>
                                            <td style="width: 10%">
                                                ชื่อกลาง :
                                            </td>
                                            <td align="left" style="width: 15%">
                                                &nbsp;<asp:TextBox ID="txtNameTh2" runat="server" CssClass="control" Height="20px" MaxLength="50"
                                                    Width="150px"></asp:TextBox>
                                            </td>
                                            <td style="width: 8%">
                                                นามสกุล :
                                            </td>
                                            <td align="left" style="width: 30%">
                                                <asp:TextBox ID="txtNameTh3" runat="server" BackColor="#FFCCCC" CssClass="control"
                                                    Height="20px" MaxLength="150" Width="150px"></asp:TextBox>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        <tr>
                            <td align="right" colspan="1" style="padding: 5px">
                                9&nbsp;
                            </td>
                            <td align="right" colspan="6" style="padding: 5px;">
                                <table class="dxflInternalEditorTable">
                                    <tr>
                                        <td style="width: 10%" align="left">
                                            Customer Name</td>
                                        <td align="left" style="width: 10%">
                                            &nbsp;</td>
                                        <td style="width: 8%">
                                            &nbsp;</td>
                                        <td align="left" style="width: 15%">
                                            &nbsp;</td>
                                        <td style="width: 10%">
                                            &nbsp;</td>
                                        <td align="left" style="width: 15%">
                                            &nbsp;</td>
                                        <td style="width: 8%">
                                            &nbsp;</td>
                                        <td align="left" style="width: 30%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="width: 10%">
                                            Prefix
                                        </td>
                                        <td align="left" style="width: 10%">
                                            <asp:DropDownList ID="ddlPrefixEN" runat="server" AutoPostBack="True" 
                                                BackColor="#FFCCCC" CssClass="control" Width="150px">
                                            </asp:DropDownList>
                                        </td>
                                        <td style="width: 8%">
                                            First Name :
                                        </td>
                                        <td align="left" style="width: 15%">
                                            <asp:TextBox ID="txtNameEn1" runat="server" BackColor="#FFCCCC" 
                                                CssClass="control" Height="20px" MaxLength="100" Width="150px" onkeypress="javascript:return EngOnly(event);"></asp:TextBox>
                                        </td>
                                        <td style="width: 10%">
                                            Middle Name :
                                        </td>
                                        <td align="left" style="width: 15%">
                                            <asp:TextBox ID="txtNameEn2" runat="server" CssClass="control" Height="20px" 
                                                MaxLength="50" Width="150px" onkeypress="javascript:return EngOnly(event);"></asp:TextBox>
                                        </td>
                                        <td style="width: 8%">
                                            Last Name :
                                        </td>
                                        <td align="left" style="width: 30%">
                                            <asp:TextBox ID="txtNameEn3" runat="server" BackColor="#FFCCCC" 
                                                CssClass="control" Height="20px" MaxLength="150" Width="150px" onkeypress="javascript:return EngOnly(event);"></asp:TextBox>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                            <tr>
                                <td align="right" colspan="1" style="padding: 5px">
                                    10</td>
                                <td align="right" colspan="1" style="padding: 5px;">
                                    <asp:Button ID="btnAdd_CustName" runat="server" Text="เพิ่ม" />
                                    <asp:Button ID="btnDel_CustName" runat="server" 
                                        OnClientClick="return confirm('ยืนยันการลบข้อมูล');" Text="ลบ" />
                                </td>
                                <td style="padding: 5px" colspan="5">
                                    <asp:GridView ID="grdCust_NAME" runat="server" AutoGenerateColumns="False" CellPadding="4"
                                        ForeColor="#333333" ShowHeaderWhenEmpty="True" Width="1100px">
                                        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                                        <Columns>
                                            <asp:CommandField ButtonType="Image" SelectImageUrl="~/img/icon/select_icon.gif"
                                                ShowSelectButton="True">
                                                <ItemStyle HorizontalAlign="Center" Width="60px" />
                                            </asp:CommandField>
                                            <asp:BoundField DataField="UNIQUEID" HeaderText="เลขที่บัตรประชาขน" ItemStyle-Width="60px">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="PASSPORT_NO" HeaderText="Passport No" ItemStyle-Width="40px">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" />
                                           </asp:BoundField>

                                            <asp:BoundField DataField="THPREFIX" HeaderText="รหัสคำนำหน้า" HeaderStyle-CssClass="hidden"
                                                ItemStyle-CssClass="hidden" ItemStyle-Width="60px">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                                                                        
                                            <asp:BoundField DataField="THPREFIX_DESC" HeaderText="คำนำหน้าชื่อ" ItemStyle-Width="60px">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                                                                        
                                            <asp:BoundField DataField="THFIRSTNAME" HeaderText="ชื่อ" ItemStyle-Width="60px">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="THMIDNAME" HeaderText="ชื่อกลาง" ItemStyle-Width="60px">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="THLASTNAME" HeaderText="นามสกุล" ItemStyle-Width="60px">
                                                <ItemStyle HorizontalAlign="center" Width="60px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="ENPREFIX" HeaderText="Prefix Code" HeaderStyle-CssClass="hidden"
                                                ItemStyle-CssClass="hidden" ItemStyle-Width="60px">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                                                                        
                                            <asp:BoundField DataField="ENPREFIX_DESC" HeaderText="Prefix" HeaderStyle-CssClass="hidden"
                                                ItemStyle-CssClass="hidden" ItemStyle-Width="60px">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            
                                            <asp:BoundField DataField="ENFIRSTNAME" HeaderStyle-CssClass="hidden" HeaderText="First Name"
                                                ItemStyle-CssClass="hidden" ItemStyle-Width="60px">
                                                <ItemStyle HorizontalAlign="center" Width="60px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="ENMIDNAME" HeaderStyle-CssClass="hidden" HeaderText="Middle Name"
                                                ItemStyle-CssClass="hidden" ItemStyle-Width="60px">
                                                <ItemStyle HorizontalAlign="center" Width="60px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="ENLASTNAME" HeaderStyle-CssClass="hidden" HeaderText="Last Name"
                                                ItemStyle-CssClass="hidden" ItemStyle-Width="60px">
                                                <ItemStyle Width="60px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="USER_CREATED_DATE" HeaderText="วันทีปรับปรุง" ItemStyle-Width="120px">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="USER_CREATED_BY" HeaderStyle-CssClass="hidden" HeaderText="สร้างโอย"
                                                ItemStyle-CssClass="hidden" ItemStyle-Width="60px" />
                                            <asp:TemplateField HeaderText="Active">
                                                <ItemTemplate>
                                                    <asp:CheckBox ID="chkACT_CUST_NAME" runat="server" AutoPostBack="True" Checked='<%# eval("ACTIVE") %>'
                                                        OnCheckedChanged="chkACT_CUST_NAME_CheckedChanged" />
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="50px" />
                                            </asp:TemplateField>
                                        </Columns>
                                        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                                        <PagerSettings Mode="NumericFirstLast" />
                                        <PagerStyle BackColor="#FFCC66" CssClass="cssPager" ForeColor="#333333" HorizontalAlign="Center" />
                                        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                                        <HeaderStyle BackColor="#FF9933" Font-Bold="True" ForeColor="White" />
                                        <AlternatingRowStyle BackColor="White" />
                                    </asp:GridView>
                                    <asp:Label ID="lblCount_Name" runat="server" Text="0"></asp:Label>
                                    &nbsp;รายการ
                                </td>
                            </tr>
                                                <tr bgcolor="#FDF6DA">
                                <td align="right" colspan="1" style="padding: 5px; vertical-align: top;">
                                    11
                                </td>
                                <td align="right" colspan="1" style="padding: 5px">
                                    สัญชาติ<br /> <strong style="font-size: 10px">Nationality</strong>
                                </td>
                                <td colspan="4" style="padding: 5px">
                                    <dx:ASPxComboBox ID="ddlNationality" runat="server" AutoPostBack="true" 
                                        BackColor="#FFCCCC" CssClass="control" Height="25px" 
                                        IncrementalFilteringMode="StartsWith" ValueType="System.String" Width="150px">
                                    </dx:ASPxComboBox>
                                    <asp:Button ID="btAddNation" runat="server" Style="width: 35px" Text="เพิ่ม" />
                                    <asp:Button ID="btDelNation" runat="server" 
                                        OnClientClick="return confirm('ยืนยันการลบข้อมูล');" Text="ลบ" />
                                    <asp:Button ID="btnSAVE_NATION" runat="server" Text="Save" Visible="False" />
                                </td>
                                <td style="padding: 5px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td align="right" colspan="1" style="padding: 5px; vertical-align: top;">
                                    12</td>
                                <td align="right" colspan="1" style="padding: 5px">
                                    &nbsp;</td>
                                <td colspan="4" style="padding: 5px">
                                    <asp:GridView ID="grdNaiton" runat="server" AutoGenerateColumns="False" 
                                        CellPadding="4" ForeColor="#333333" ShowHeaderWhenEmpty="True" Width="500px">
                                        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                                        <Columns>
                                            <asp:CommandField ButtonType="Image" 
                                                SelectImageUrl="~/img/icon/select_icon.gif" ShowSelectButton="True">
                                            <ItemStyle HorizontalAlign="Center" Width="60px" />
                                            </asp:CommandField>
                                            <asp:BoundField DataField="NATION_NAME" HeaderText="สัญชาติ">
                                            <ItemStyle HorizontalAlign="Center" Width="200px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="NATIONALITY" HeaderStyle-CssClass="hidden" 
                                                HeaderText="รหัส" ItemStyle-CssClass="hidden">
                                            <ControlStyle Width="0px" />
                                            <HeaderStyle HorizontalAlign="Center" Width="0px" />
                                            <ItemStyle HorizontalAlign="Center" Width="0px" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="RISK_LEVEL" HeaderText="ระดับความเสี่ยง">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="150px" />
                                            </asp:BoundField>

                                            <asp:TemplateField HeaderText="Active">
                                                <ItemTemplate>
                                                    <asp:CheckBox ID="chActive" runat="server" AutoPostBack="True" 
                                                        Checked='<%# eval("ACTIVE") %>' oncheckedchanged="chActive_CheckedChanged" />
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="50px" />
                                            </asp:TemplateField>
                                        </Columns>
                                        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                                        <PagerSettings Mode="NumericFirstLast" />
                                        <PagerStyle BackColor="#FFCC66" CssClass="cssPager" ForeColor="#333333" 
                                            HorizontalAlign="Center" />
                                        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                                        <HeaderStyle BackColor="#FF9933" Font-Bold="True" ForeColor="White" />
                                        <AlternatingRowStyle BackColor="White" />
                                    </asp:GridView>
                                    <asp:Label ID="lblCount_Nation" runat="server" Text="0"></asp:Label>
                                    &nbsp;รายการ</td>
                                <td style="padding: 5px">
                                    Authorization<br /> <strong style="font-size: 10px">Required &nbsp;&nbsp;&nbsp; </strong>
                                    <asp:Label ID="lblAuthor_Req_Nation" runat="server" BackColor="#FDF6DA" 
                                        BorderStyle="None" ForeColor="#FF3300" Text="N" Width="10px"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                    <asp:Label ID="lblAuth_By_Nation" runat="server" bgcolor="#FDF6DA" 
                                        BorderStyle="None" ForeColor="#FF3300" Text="None" Width="40%"></asp:Label>
                                </td>
                            </tr>
                            <!-- Begin Pramote  ----->
                            <!-- End Pramote  ----->
                            <tr>
                                <td colspan="1" style="padding: 5px" align="right">
                                    13</td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    วัน / เดือน / ปี เกิด (พ.ศ.)<br /> <strong style="font-size: 10px">Date of Birth (Specify in B.C.)</strong></td>
                                <td style="padding: 5px">
                                    <asp:TextBox ID="txtBIRTH_DATE_TH_DD" runat="server" BackColor="#FFCCCC" MaxLength="2" 
                                        Width="20px" onkeypress="javascript:return NumberOnly(event);"></asp:TextBox>
                                    &nbsp;/
                                    <asp:TextBox ID="txtBIRTH_DATE_TH_MM" runat="server" BackColor="#FFCCCC" MaxLength="2" 
                                        Width="20px" onkeypress="javascript:return NumberOnly(event);"></asp:TextBox>
                                    &nbsp;/
                                    <asp:TextBox ID="txtBIRTH_DATE_TH_YYYY" runat="server" BackColor="#FFCCCC" MaxLength="4" 
                                        Width="35px" onkeypress="javascript:return NumberOnly(event);"></asp:TextBox>
                                    <asp:Label ID="lbBIRTH_DATE_TH" runat="server" Visible="False"></asp:Label>
                                    <asp:Label ID="lbBIRTH_DATE_Check" runat="server" Visible="False"></asp:Label>
                                </td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    วัน/เดือน/ปีเกิด (ค.ศ.)<br /> <strong style="font-size: 10px">Date of Birth 
                                    (Specify in B.E.)</strong></td>
                                <td colspan="3" style="padding: 5px">
                                    <asp:TextBox ID="txtBIRTH_DATE_EN_DD" runat="server" BackColor="Silver" MaxLength="2" 
                                        Width="20px" ForeColor="Red"></asp:TextBox>
                                    &nbsp;/
                                    <asp:TextBox ID="txtBIRTH_DATE_EN_MM" runat="server" BackColor="Silver" MaxLength="2" 
                                        Width="20px" ForeColor="Red"></asp:TextBox>
                                    &nbsp;/
                                    <asp:TextBox ID="txtBIRTH_DATE_EN_YYYY" runat="server" BackColor="Silver" MaxLength="4" 
                                        Width="35px" ForeColor="Red"></asp:TextBox>
                                    <asp:Label ID="lbBIRTH_DATE_ENCheck" runat="server" Visible="False"></asp:Label>
                                    <asp:Label ID="lbBIRTH_DATE_EN" runat="server" Visible="False"></asp:Label>
                                </td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td colspan="1" style="padding: 5px" align="right">
                                    14</td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    เพศ<br /> <strong style="font-size: 10px">Gender</strong></td>
                                <td style="padding: 5px">
                                    <asp:DropDownList ID="ddlGender" runat="server" AutoPostBack="True" 
                                        BackColor="#FFCCCC" CssClass="control" Width="150px">
                                    </asp:DropDownList>
                                </td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    สถานะการสมรส<br /> <strong style="font-size: 10px">Marital Status</strong></td>
                                <td colspan="3" style="padding: 5px">
                                    <asp:DropDownList ID="ddlMaritalStatus" runat="server" AutoPostBack="True" 
                                        BackColor="#FFCCCC" CssClass="control" Width="200px">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr bgcolor="#FF9933">
                                <td align="center" colspan="7" style="padding: 5px">
                                    <strong style="padding: 5px">ผลการตรวจกรองรายชื่อลูกค้าใน Sanction list</strong></td>
                            </tr>
                            <tr>
                                <td style="padding: 5px;" colspan="1" align="right">
                                    15</td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    &nbsp;</td>
                                <td style="padding: 5px">
                                    ผลการตรวจกรอง
                                    <asp:Label ID="lblFILTER_RESULT_CUST" runat="server" bgcolor="#FDF6DA" 
                                        BorderStyle="None" ForeColor="#FF3300" Width="40%"></asp:Label>
                                </td>
                                <td style="padding: 5px;" colspan="1">
                                    Risk Level  
                                    <asp:Label ID="lblRISK_LEVEL_CUST" runat="server" bgcolor="#FDF6DA" 
                                        BorderStyle="None" ForeColor="#FF3300" Width="40%">0</asp:Label>
                                </td>
                                <td align="left" style="padding: 5px;" colspan="1">
                                    &nbsp;</td>
                                <td align="right" style="padding: 5px;">
                                    &nbsp;</td>
                                <td align="right" style="padding: 5px">
                                    <asp:Button ID="btnFilter_CUST" runat="server" Text="ตรวจกรองรายชื่อ" 
                                        Width="130px" />
                                </td>
                            </tr>
                            <tr>
                                <td align="right" colspan="1" style="padding: 5px;">
                                    16</td>
                                <td align="right" colspan="1" style="padding: 5px;">
                                    &nbsp;</td>
                                <td style="padding: 5px">
                                    <asp:RadioButtonList ID="rdoAcc0" runat="server" AutoPostBack="True" 
                                        CssClass="control" RepeatDirection="Horizontal" Visible="False" Width="200px">
                                        <asp:ListItem Value="0">ไม่พบ(Not Hit)</asp:ListItem>
                                        <asp:ListItem Value="1">พบ(Hit)</asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                                <td colspan="1" style="padding: 5px;">
                                    &nbsp;</td>
                                <td align="left" colspan="1" style="padding: 5px;">
                                    &nbsp;</td>
                                <td align="right" style="padding: 5px;">
                                    &nbsp;</td>
                                <td align="right" style="padding: 5px">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td align="right" colspan="1" style="padding: 5px;">
                                    17</td>
                                <td align="right" colspan="1" style="padding: 5px;">
                                    ประเภทรายชื่อต้องห้าม&nbsp;</td>
                                <td style="padding: 5px">
                                    <asp:DropDownList ID="ddlSanctDataFrom" runat="server" Width="160px">
                                    </asp:DropDownList>
                                </td>
                                <td colspan="1" style="padding: 5px;" align="right">
                                    เลขที่กำกับอ้างอิง</td>
                                <td align="left" colspan="1" style="padding: 5px;">
                                    <asp:TextBox ID="txtSanction_Ref_No" runat="server" Width="150px"></asp:TextBox>
                                </td>
                                <td align="right" style="padding: 5px;">
                                    &nbsp;</td>
                                 <td style="padding: 5px">
                                    Authorization<br /> <strong style="font-size: 10px">Required &nbsp;&nbsp;&nbsp; </strong>
                                    <asp:Label ID="lblAuthor_Req_SancList" runat="server" BackColor="White" 
                                        BorderStyle="None" ForeColor="#FF3300" Text="N" Width="10px"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                    <asp:Label ID="lblAuth_By_SancList" runat="server" bgcolor="#FDF6DA" 
                                        BorderStyle="None" ForeColor="#FF3300" Text="None" Width="40%"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" colspan="1" style="padding: 5px;">
                                    18</td>
                                <td align="right" colspan="1" style="padding: 5px;">
                                    ผลการตรวจกรอง </td>
                                <td style="padding: 5px">
                                    &nbsp;</td>
                                <td colspan="1" style="padding: 5px;" align="left">
                                    &nbsp;</td>
                                <td align="left" colspan="1" style="padding: 5px;">
                                    &nbsp;</td>
                                <td colspan="2" style="padding: 5px;">
                                    <asp:Button ID="btAddSanct" runat="server" Text="เพิ่ม" Width="40px" />
                                    <asp:Button ID="btDelSanct" runat="server" Text="ลบ" Width="40px"  OnClientClick="return confirm('ยืนยันการลบข้อมูล');" />
                                </td>
                            </tr>
                            <tr>
                                <td style="padding: 5px;" colspan="1" align="right">
                                    19</td>
                                <td align="left" colspan="6" style="padding: 5px">
                                    <asp:GridView ID="grdSanc" runat="server" AutoGenerateColumns="False" 
                                        CellPadding="4" ForeColor="#333333" ShowHeaderWhenEmpty="True" Width="10%" 
                                        Visible="False">
                                        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                                        <Columns>
                                            <asp:BoundField DataField="SANID" HeaderText="เลขที่บัตรประชาชน">
                                                <ItemStyle HorizontalAlign="Center" Width="150px" />
                                            </asp:BoundField>
                                            <asp:CommandField ButtonType="Image" 
                                                SelectImageUrl="~/img/icon/select_icon.gif" ShowSelectButton="True">
                                                <ItemStyle HorizontalAlign="Center" Width="60px" />
                                            </asp:CommandField>
                                            <asp:BoundField DataField="PASSPORT" HeaderText="เลขที่หนังสือเดินทาง">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="NAME_TH" HeaderText="ชื่อไทย">
                                                <HeaderStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="NAME_EN" HeaderText="ชื่ออังกฤษ">
                                                <HeaderStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="DATA_FROM" HeaderText="ประเภทรายชื่อต้องห้าม">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="UPDATE_DATE" HeaderText="วันที่อัพเดท">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            <asp:TemplateField HeaderText="Active">
                                                <ItemTemplate>
                                                    <asp:CheckBox ID="chk_ACT_SANCTION" runat="server" 
                                                        Checked='<%# eval("ACTIVE") %>' AutoPostBack="True" 
                                                        oncheckedchanged="chk_ACT_SANCTION_CheckedChanged" />
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="50px" />
                                            </asp:TemplateField>
                                        </Columns>
                                        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                                        <PagerSettings Mode="NumericFirstLast" />
                                        <PagerStyle BackColor="#FFCC66" CssClass="cssPager" ForeColor="#333333" 
                                            HorizontalAlign="Center" />
                                        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                                        <HeaderStyle BackColor="#FF9933" Font-Bold="True" ForeColor="White" />
                                        <AlternatingRowStyle BackColor="White" />
                                    </asp:GridView>
                                    <asp:GridView ID="grdList" runat="server" AutoGenerateColumns="False" 
                                        CellPadding="4" ForeColor="#333333" Width="99%" ShowHeaderWhenEmpty="True">
                                        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                                        <Columns>
                                           
                                            <asp:TemplateField>
                                             <ItemTemplate>
                                              <asp:CheckBox ID="chkList" runat="server" Checked='<%# Eval("SELECTLIST").ToString().Equals("0") %>' Enabled="false" 
                                              />
                                             </ItemTemplate>
                                             <ItemStyle HorizontalAlign="Center" Width="60px" />
                                            </asp:TemplateField>

                                            <asp:BoundField DataField="ENTITY_ID" HeaderText="DATA_ID">
                                            <ItemStyle HorizontalAlign="Left" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="UniqueID" HeaderText="เลขที่บัตรประชาชน/เลขที่หนังสือเดินทาง">
                                            <ItemStyle HorizontalAlign="Left" Width="10%" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="FIRSTNAME_E" HeaderText="FirstName">
                                            <ItemStyle HorizontalAlign="Left" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="MIDDLE_NAME_E" HeaderText="MiddleName">
                                            <ItemStyle HorizontalAlign="Left" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="SURNAME_E" HeaderText="SurName">
                                            <ItemStyle HorizontalAlign="Left" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="FULLNAME" HeaderText="Single String Name" 
                                                HeaderStyle-CssClass="hidden" 
                                                ItemStyle-CssClass="hidden">
                                            <ItemStyle HorizontalAlign="Left" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="FIRST_NAME" HeaderText="ชื่อ">
                                            <ItemStyle HorizontalAlign="Left" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="MIDDLE_NAME" HeaderText="ชื่อกลาง">
                                            <ItemStyle HorizontalAlign="Left" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="SURNAME" HeaderText="นามสกุล">
                                            <ItemStyle HorizontalAlign="Left" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="ORIGINAL_SCRIPT_NAME" HeaderText="ชื่อท้องถิ่น">
                                            <ItemStyle HorizontalAlign="Left" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="BIRTHINFO_DATE" HeaderText="วันเกิด">
                                            <ItemStyle HorizontalAlign="Left" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="COUNTRY_DESC" HeaderText="ภูมิลำเนา">
                                            <ItemStyle HorizontalAlign="Left" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="dataSource" HeaderText="แหล่งที่มา">
                                            <ItemStyle HorizontalAlign="Left" Width="5%" />
                                            </asp:BoundField>

                                            <asp:TemplateField HeaderText="วันที่อัพเดต">
                                                <ItemTemplate>
                                                    <asp:Label ID="lblActiveDate" runat="server" 
                                                        Text='<%# Eval("LastUpdateDate") %>'></asp:Label>
                                                </ItemTemplate>
                                                <ItemStyle Width="80px" />
                                            </asp:TemplateField>

                                        </Columns>
                                        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                                        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                                        <HeaderStyle BackColor="#FF9933" Font-Bold="True" ForeColor="White" />
                                        <AlternatingRowStyle BackColor="White" />
                                    </asp:GridView>
                                    <asp:Label ID="lblCount_Sanct" runat="server" Text="0"></asp:Label>
                                    &nbsp;รายการ<br />
                                </td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td style="padding: 5px;" colspan="1" align="right">
                                    20</td>
                                <td align="left" colspan="6" style="padding: 5px">
                                    ความสัมพันธ์กรณีที่เกี่ยวข้องกับการเมือง<strong style="font-size: 10px"> 
                                    (Political Status)</strong></td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td style="padding: 5px;" colspan="1" align="right">
                                    &nbsp;</td>
                                <td align="left" style="padding: 5px;" colspan="6">
                                    <table class="dxflInternalEditorTable">
                                        <tr>
                                            <td>
                                                &nbsp; &nbsp;
                                                <asp:RadioButton ID="optPOL_CONNECT_N" runat="server" AutoPostBack="True" 
                                                    Checked="True" GroupName="POLITICY_CONN" Text="   ไม่มีความเกี่ยวข้อง" 
                                                    Width="200px" />
                                                <asp:RadioButton ID="optPOL_CONNECT_Y" runat="server" AutoPostBack="True" 
                                                    GroupName="POLITICY_CONN" Text="   มีความเกี่ยวข้อง" Width="200px" />
                                                <asp:Label ID="lblF_POLITIC" runat="server" Text="Label" Visible="False"></asp:Label>
                                            </td>
                                            <td style="width: 5%">
                                                &nbsp;
                                                <asp:TextBox ID="txtPOLITIC_POST_SELF" runat="server" BackColor="White" 
                                                    CssClass="control" Height="20px" MaxLength="50" Visible="False" Width="150px"></asp:TextBox>
                                            </td>
                                            <td align="left" style="width: 15%">
                                                &nbsp;
                                            </td>
                                            <td style="width: 5%">
                                                &nbsp;
                                            </td>
                                            <td align="left" style="width: 20%">
                                                &nbsp;
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td style="padding: 5px;" colspan="1" align="right">
                                    22</td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    &nbsp;</td>
                                <td style="padding: 5px">
                                    &nbsp;</td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    &nbsp;</td>
                                <td align="left" style="padding: 5px">
                                    &nbsp;</td>
                                <td align="right" style="padding: 5px">
                                    &nbsp;</td>
                                <td align="left" style="padding: 5px">
                                    &nbsp;</td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td style="padding: 5px;" colspan="1" align="right">
                                    23</td>
                                <td align="right" style="padding: 5px;" colspan="6">
                                    <table class="dxflInternalEditorTable">
                                        <tr>
                                            <td style="width: 10%">
                                                คำนำหน้าชื่อ
                                            </td>
                                            <td align="left" style="width: 10%">
                                               
                                                <asp:DropDownList ID="ddlPrefixTH_POLITIC" runat="server" AutoPostBack="true" 
                                                    BackColor="White" CssClass="control" Width="150px">
                                                </asp:DropDownList>
                                               
                                            </td>
                                            <td style="width: 8%">
                                                ชื่อ :
                                            </td>
                                            <td align="left" style="width: 15%">
                                                
                                                <asp:TextBox ID="txtTHFIRSTNAME" runat="server" BackColor="White" 
                                                    CssClass="control" Height="20px" MaxLength="50" Width="150px"></asp:TextBox>
                                                
                                            </td>
                                            <td style="width: 10%">
                                                ชื่อกลาง :
                                            </td>
                                            <td align="left" style="width: 15%">
                                                
                                                <asp:TextBox ID="txtTHMIDNAME" runat="server" BackColor="White" 
                                                    CssClass="control" Height="20px" MaxLength="50" Width="150px"></asp:TextBox>
                                                
                                            </td>
                                            <td style="width: 8%">
                                                นามสกุล :
                                            </td>
                                            <td align="left" style="width: 30%">
                                                
                                                <asp:TextBox ID="txtTHLASTNAME" runat="server" BackColor="White" 
                                                    CssClass="control" Height="20px" MaxLength="50" Width="150px"></asp:TextBox>
                                                
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 10%">
                                            Prefix
                                        </td>
                                        <td align="left" style="width: 10%">
                                            <asp:DropDownList ID="ddlPrefixEN_POLITIC" runat="server" AutoPostBack="True" BackColor="White"
                                                CssClass="control" Width="150px">
                                            </asp:DropDownList>
                                        </td>
                                        <td style="width: 8%">
                                            First Name :
                                        </td>
                                        <td align="left" style="width: 15%">
                                            <asp:TextBox ID="txtENFIRSTNAME" runat="server" CssClass="control"
                                                Height="20px" MaxLength="100" Width="150px" onkeypress="javascript:return EngOnly(event);"></asp:TextBox>
                                        </td>
                                        <td style="width: 10%">
                                            Middle Name :
                                        </td>
                                        <td align="left" style="width: 15%">
                                            <asp:TextBox ID="txtENMIDNAME" runat="server" CssClass="control" Height="20px" MaxLength="50"
                                                Width="150px" onkeypress="javascript:return EngOnly(event);"></asp:TextBox>
                                        </td>
                                        <td style="width: 8%">
                                            Last Name :
                                        </td>
                                        <td align="left" style="width: 30%">
                                            <asp:TextBox ID="txtENLASTNAME" runat="server" CssClass="control"
                                                Height="20px" MaxLength="150" Width="150px" onkeypress="javascript:return EngOnly(event);"></asp:TextBox>
                                        </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 10%">
                                                &nbsp;</td>
                                            <td align="left" style="width: 10%">
                                                &nbsp;</td>
                                            <td style="width: 8%">
                                                ตำแหน่ง :</td>
                                            <td align="left" style="width: 15%">
                                                <asp:TextBox ID="txtPOLITIC_POST_CONC" runat="server" BackColor="White" 
                                                    CssClass="control" Height="20px" MaxLength="50" Width="150px"></asp:TextBox>
                                            </td>
                                            <td style="width: 10%">
                                                ความสัมพันธ์ :
                                            </td>
                                            <td align="left" style="width: 15%">
                                                <asp:TextBox ID="txtPOLITIC_RELATION" runat="server" BackColor="White" 
                                                    Width="150px"></asp:TextBox>
                                            </td>
                                            <td style="width: 5%">
                                                &nbsp;</td>
                                            <td style="padding: 5px" align="left">
                                                Authorization<br />
                                                <strong style="font-size: 10px">Required &nbsp;&nbsp;&nbsp; </strong>
                                                <asp:Label ID="lblAuthor_Req_Politic" runat="server" BackColor="White" BorderStyle="None"
                                                    ForeColor="#FF3300" Text="N" Width="10px"></asp:Label>
                                                &nbsp;&nbsp;&nbsp;&nbsp;
                                                <asp:Label ID="lblAuth_By_Politic" runat="server" bgcolor="#FDF6DA" BorderStyle="None"
                                                    ForeColor="#FF3300" Text="None" Width="40%"></asp:Label>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td align="right" colspan="1" style="padding: 5px;">
                                    24</td>
                                <td align="right" colspan="1" style="padding: 5px;">
                                    <asp:Button ID="btAddPolitical" runat="server" Text="เพิ่ม" Width="40px" />
                                    <asp:Button ID="btDelPolitical" runat="server" Text="ลบ" Width="40px" OnClientClick="return confirm('ยืนยันการลบข้อมูล');" />
                                </td>
                                <td colspan="5" style="padding: 5px">
                                    <asp:GridView ID="grdPolitical" runat="server" AutoGenerateColumns="False" CellPadding="4"
                                        ForeColor="#333333" ShowHeaderWhenEmpty="True" Width="100%">
                                        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                                        <Columns>
                                            <asp:CommandField ButtonType="Image" SelectImageUrl="~/img/icon/select_icon.gif"
                                                ShowSelectButton="True">
                                                <ItemStyle HorizontalAlign="Center" Width="60px" />
                                            </asp:CommandField>
                                            <asp:BoundField DataField="THPREFIX" HeaderText="รหัส" HeaderStyle-CssClass="hidden"
                                                ItemStyle-CssClass="hidden">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="150px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="THPREFIX_DESC" HeaderText="ตำนำหน้าชื่อ">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="150px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="THFIRSTNAME" HeaderText="ชื่อ">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="150px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="THMIDNAME" HeaderText="ชื่อกลาง">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="150px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="THLASTNAME" HeaderText="นามสกุล">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="150px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="ENPREFIX" HeaderText="Prefix" HeaderStyle-CssClass="hidden"
                                                ItemStyle-CssClass="hidden">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="150px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="ENPREFIX_DESC" HeaderText="Description" HeaderStyle-CssClass="hidden" 
                                                ItemStyle-CssClass="hidden">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="150px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="ENFIRSTNAME" HeaderText="Name" HeaderStyle-CssClass="hidden" 
                                                ItemStyle-CssClass="hidden">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="150px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="ENMIDNAME" HeaderText="Mid Name" HeaderStyle-CssClass="hidden" 
                                                ItemStyle-CssClass="hidden">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="150px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="ENLASTNAME" HeaderText="Last Name" HeaderStyle-CssClass="hidden" 
                                                ItemStyle-CssClass="hidden">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="150px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="POLITIC_POST_CONC" HeaderText="ตำแหน่ง">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="150px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="POLITIC_RELATION" HeaderText="ความสัมพันธ์">
                                                <ItemStyle HorizontalAlign="Center" Width="150px" />
                                            </asp:BoundField>
                                            <asp:TemplateField HeaderText="Active">
                                                <ItemTemplate>
                                                    <asp:CheckBox ID="chk_ACT_POLTIC" runat="server" Checked='<%# eval("ACTIVE") %>'
                                                        AutoPostBack="True" OnCheckedChanged="chk_ACT_POLTIC_CheckedChanged" />
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="50px" />
                                            </asp:TemplateField>
                                        </Columns>
                                        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                                        <PagerSettings Mode="NumericFirstLast" />
                                        <PagerStyle BackColor="#FFCC66" CssClass="cssPager" ForeColor="#333333" HorizontalAlign="Center" />
                                        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                                        <HeaderStyle BackColor="#FF9933" Font-Bold="True" ForeColor="White" />
                                        <AlternatingRowStyle BackColor="White" />
                                    </asp:GridView>
                                    <asp:Label ID="lblCount_Politic" runat="server" Text="0"></asp:Label>
                                    &nbsp;รายการ
                                </td>
                            </tr>
                            <tr bgcolor="#FF9933">
                                <td style="padding: 5px;" colspan="1" align="right">
                                    &nbsp;</td>
                                <td align="center" colspan="6" style="padding: 5px">
                                    <strong style="padding: 5px">อาชีพ</strong></td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td style="padding: 5px;" colspan="1" align="right">
                                    25</td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    อาชีพหลัก</td>
                                <td style="padding: 5px">
                                    <asp:DropDownList ID="ddlOccupation1" runat="server" AutoPostBack="True" 
                                        BackColor="#FFCCCC" CssClass="control" Width="250px">
                                    </asp:DropDownList>
                                </td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    คำอธิบายเพิ่มเติม : </td>
                                <td align="left" style="padding: 5px;" colspan="3">
                                    <asp:TextBox ID="txtOccOther1" runat="server" BackColor="#FFCCCC" 
                                        CssClass="control" Height="20px" MaxLength="100" Visible="False" Width="200px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td style="padding: 5px;" colspan="1" align="right">
                                    26</td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    รายละเอียดอาชีพ</td>
                                <td style="padding: 5px">
                                    <asp:DropDownList ID="ddlOccupation4" runat="server" AutoPostBack="True" 
                                        BackColor="#FFCCCC" CssClass="control" Width="250px">
                                    </asp:DropDownList>
                                </td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    <asp:Label ID="lblOther12" runat="server" Text="หมายเหตุ : " 
                                        Visible="False"></asp:Label>
                                </td>
                                <td align="left" style="padding: 5px;" colspan="1">
                                    <asp:TextBox ID="txtBizOther1" runat="server" BackColor="#FFCCCC" 
                                        CssClass="control" Height="20px" MaxLength="100" Visible="False" Width="200px"></asp:TextBox>
                                </td>
                                <td align="left" colspan="2" style="padding: 5px">
                                    &nbsp;</td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td align="right" colspan="1" style="padding: 5px;">
                                    27</td>
                                <td align="right" colspan="1" style="padding: 5px;">
                                    ตำแหน่ง</td>
                                <td style="padding: 5px">
                                    <asp:TextBox ID="txtPOSITION" runat="server" CssClass="control" Height="20px" 
                                        MaxLength="50" Width="150px"></asp:TextBox>
                                    <asp:Button ID="btAddOcc" runat="server" Text="เพิ่ม" Width="40px" />
                                    <asp:Button ID="btDelOcc" runat="server" Text="ลบ" Width="40px" />
                                </td>
                                <td align="right" colspan="1" style="padding: 5px;">
                                    &nbsp;</td>
                              
                                                   

                                <td align="left" colspan="2" style="padding: 5px">
                                    &nbsp;</td>
                                  <td style="padding: 5px">
                                    Authorization<br /> <strong style="font-size: 10px">Required &nbsp;&nbsp;&nbsp; </strong>
                                    <asp:Label ID="lblAuthor_Req_Occupation" runat="server" BackColor="#FDF6DA" 
                                        BorderStyle="None" ForeColor="#FF3300" Text="N" Width="10px"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                    <asp:Label ID="lblAuth_By_Occupation" runat="server" bgcolor="#FDF6DA" 
                                        BorderStyle="None" ForeColor="#FF3300" Text="None" Width="40%"></asp:Label>
                                </td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td style="padding: 5px;" colspan="1" align="right">
                                    28</td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    <asp:DropDownList ID="ddlBusiness1" runat="server" AutoPostBack="True" 
                                        CssClass="control" Visible="False" Width="150px">
                                    </asp:DropDownList>
                                    <br />
                                    <asp:DropDownList ID="ddlPrefixEN3" runat="server" AutoPostBack="True" 
                                        BackColor="#FFCCCC" CssClass="control" Visible="False" Width="150px">
                                    </asp:DropDownList>
                                    <br />
                                    <asp:RadioButton ID="optRISKY_N" runat="server" Checked="True" 
                                        GroupName="Risky_Business" Text="   ไม่มี" Visible="False" Width="50px" />
                                    <asp:RadioButton ID="optRISKY_Y" runat="server" GroupName="Risky_Business" 
                                        Text="   มี     โปรดระบุ อาชีพ" Visible="False" />
                                </td>
                                <td colspan="5" style="padding: 5px">
                                    <asp:GridView ID="grdOcc" runat="server" AutoGenerateColumns="False" 
                                        CellPadding="4" ForeColor="#333333" ShowHeaderWhenEmpty="True" 
                                        Width="100%">
                                        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                                        <Columns>
                                            <asp:CommandField ButtonType="Image" 
                                                SelectImageUrl="~/img/icon/select_icon.gif" ShowSelectButton="True">
                                                <ItemStyle HorizontalAlign="Center" Width="60px" />
                                            </asp:CommandField>

                                            <asp:BoundField DataField="OCC_DESC" HeaderText="อาชีพหลัก">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="150px" />
                                            </asp:BoundField>                                                                                   

                                            <asp:BoundField DataField="OCCCODE" HeaderText="รหัส"
                                                HeaderStyle-CssClass="hidden" ItemStyle-CssClass="hidden">                                            
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="5px" />
                                            </asp:BoundField>
                                        
                                            <asp:BoundField DataField="OCC_SUB_DESC" HeaderText="รายละเอียดอาชีพ">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="150px" />
                                            </asp:BoundField>

                                                <asp:BoundField DataField="REMARK_T" HeaderText="คำอธิบายเพิ่มเติม">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="120px" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="OCCCODE_SUB" HeaderText="รหัสย่อย"
                                                 HeaderStyle-CssClass="hidden" ItemStyle-CssClass="hidden">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="5px" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="POSITION" HeaderText="ตำแหน่ง">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="120px" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="RISK" HeaderText="ระดับความเสี่ยง">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="80px" />
                                            </asp:BoundField>

                                            <asp:TemplateField HeaderText="Active">
                                                <ItemTemplate>
                                                    <asp:CheckBox ID="chkACT_OCCUPATION" runat="server" 
                                                        Checked='<%# eval("ACTIVE") %>' AutoPostBack="True" 
                                                        oncheckedchanged="chkACT_OCCUPATION_CheckedChanged" />
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="50px" />
                                            </asp:TemplateField>
                                        </Columns>
                                        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                                        <PagerSettings Mode="NumericFirstLast" />
                                        <PagerStyle BackColor="#FFCC66" CssClass="cssPager" ForeColor="#333333" 
                                            HorizontalAlign="Center" />
                                        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                                        <HeaderStyle BackColor="#FF9933" Font-Bold="True" ForeColor="White" />
                                        <AlternatingRowStyle BackColor="White" />
                                    </asp:GridView>
                                    <asp:Label ID="lblCount_OCC" runat="server" Text="0"></asp:Label>
                                    &nbsp;รายการ</td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td style="padding: 5px;" colspan="1" align="right">
                                    29</td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    &nbsp;</td>
                                <td colspan="5" style="padding: 5px">
                                    </td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td style="padding: 5px;" colspan="1" align="right">
                                    30</td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    &nbsp;</td>
                                <td colspan="5" style="padding: 5px">
                                    <asp:TextBox ID="txtDes1" runat="server" CssClass="control" Height="50px" 
                                        MaxLength="255" TextMode="MultiLine" Width="90%" Visible="False"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td style="padding: 5px;" colspan="1" align="right">
                                    31</td>
                                <td align="left" colspan="6" style="padding: 5px">
                                    ประเทศแหล่งที่มาของรายได้ Source of Income</td>
                            </tr>
                            <tr>
                                <td style="padding: 5px;" colspan="1" align="right">
                                    32</td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    &nbsp;</td>
                                <td style="padding: 5px">
                                    <asp:DropDownList ID="ddlIncomeSource1" runat="server" BackColor="#FFCCCC" 
                                        CssClass="control" Width="250px">
                                    </asp:DropDownList>
                                    &nbsp;<asp:Button ID="btAddIncome" runat="server" Text="เพิ่ม" Width="40px" />
                                    <asp:Button ID="btDelIncome" runat="server" Text="ลบ" Width="40px" />
                                </td>
                                <td align="left" style="padding: 5px;" colspan="2">
                                    &nbsp;&nbsp;&nbsp;
                                    <asp:Button ID="btnLOV" runat="server" Text="LOV.." Width="40px" 
                                        Visible="False" />
                                </td>
                              
                                <td style="padding: 5px">
                                    Authorization<br /> <strong style="font-size: 10px">Required &nbsp;&nbsp;&nbsp; </strong>
                                    <asp:Label ID="lblAuthor_Req_SOI" runat="server" BackColor="White" 
                                        BorderStyle="None" ForeColor="#FF3300" Text="N" Width="10px"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                    <asp:Label ID="lblAuth_By_SOI" runat="server" bgcolor="#FDF6DA" 
                                        BorderStyle="None" ForeColor="#FF3300" Text="None" Width="40%"></asp:Label>
                                </td>

                            </tr>
                            <tr>
                                <td style="padding: 5px;" colspan="1" align="right">
                                    33</td>
                                <td align="right" style="padding: 5px;" colspan="1">
                                    &nbsp;</td>
                                <td colspan="5" style="padding: 5px">
                                    <asp:GridView ID="grdIncome" runat="server" AutoGenerateColumns="False" 
                                        CellPadding="4" ForeColor="#333333" ShowHeaderWhenEmpty="True" 
                                        Width="600px">
                                        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                                        <Columns>
                                           
                                            <asp:CommandField ButtonType="Image" 
                                                SelectImageUrl="~/img/icon/select_icon.gif" ShowSelectButton="True">
                                            <ItemStyle HorizontalAlign="Center" Width="60px" />
                                            </asp:CommandField>

                                            <asp:BoundField DataField="COUNTYNAME" HeaderText="ประเทศแหล่งที่มาของรายได้">
                                            <ItemStyle HorizontalAlign="Center" Width="300px" />
                                            </asp:BoundField>
                                            
                                            <asp:BoundField DataField="NATIONCODE" HeaderText="รหัสประเทศ"
                                            HeaderStyle-CssClass="hidden" 
                                            ItemStyle-CssClass="hidden">
                                            <HeaderStyle HorizontalAlign="Center" />
                                            <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="COUNTYNAMETH" HeaderText="ชื่อไทย">
                                            <ItemStyle HorizontalAlign="Center" Width="300px" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="RISK_LEVEL" HeaderText="ระดับความเสี่ยง">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="150px" />
                                            </asp:BoundField>

                                            <asp:TemplateField HeaderText="Active">
                                                <ItemTemplate>
                                                    <asp:CheckBox ID="chk_ACT_INC_SOURCE" runat="server" 
                                                        Checked='<%# eval("ACTIVE") %>' AutoPostBack="True" 
                                                        oncheckedchanged="chk_ACT_INC_SOURCE_CheckedChanged" />
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="50px" />
                                            </asp:TemplateField>
                                        </Columns>
                                        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                                        <PagerSettings Mode="NumericFirstLast" />
                                        <PagerStyle BackColor="#FFCC66" CssClass="cssPager" ForeColor="#333333" 
                                            HorizontalAlign="Center" />
                                        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                                        <HeaderStyle BackColor="#FF9933" Font-Bold="True" ForeColor="White" />
                                        <AlternatingRowStyle BackColor="White" />
                                    </asp:GridView>
                                    <asp:Label ID="lblCount_Inc_Source" runat="server" Text="0"></asp:Label>
                                    &nbsp;รายการ</td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td align="right" colspan="1" style="padding: 5px;">
                                    34</td>
                                <td align="right" colspan="1" style="padding: 5px;">
                                    รายได้เฉลี่ยต่อเดือนโดยประมาณ
                                </td>
                                <td style="padding: 5px">
                                    <asp:DropDownList ID="ddlAVR_REVENUE" runat="server" Width="250px">
                                        <asp:ListItem Value="0">&lt;ไม่ระบุ&gt;</asp:ListItem>
                                        <asp:ListItem Value="1">ไม่เกิน 15,000 บาท</asp:ListItem>
                                        <asp:ListItem Value="2">15,001-30,000 บาท</asp:ListItem>
                                        <asp:ListItem Value="3">30,001-50,000 บาท</asp:ListItem>
                                        <asp:ListItem Value="4">50,001-100,000 บาท</asp:ListItem>
                                        <asp:ListItem Value="5">100,001-200,000 บาท</asp:ListItem>
                                        <asp:ListItem Value="6">200,001-500,000 บาท</asp:ListItem>
                                        <asp:ListItem Value="7">500,001-1,000,000 บาท</asp:ListItem>
                                        <asp:ListItem>มากกว่า 1,000,000 บาท</asp:ListItem>
                                    </asp:DropDownList>
                                    <asp:TextBox ID="txtSalaryPerMonth" runat="server" BackColor="#FFCCCC" 
                                        CssClass="control" Visible="False" Width="20px">0</asp:TextBox>
                                </td>
                                <td align="right" style="padding: 5px">
                                    ภาระค่าใช้จ่ายต่อเดือน</td>
                                <td style="padding: 5px">
                                    <asp:DropDownList ID="ddlAVR_EXPENSE" runat="server" Width="200px">
                                        <asp:ListItem Value="0">&lt;ไม่ระบุ&gt;</asp:ListItem>
                                        <asp:ListItem Value="1">น้อยกว่า 25 %</asp:ListItem>
                                        <asp:ListItem Value="2">20 % - 50 %</asp:ListItem>
                                        <asp:ListItem Value="3">มากกว่า 50 %</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td align="right" style="padding: 5px">
                                    &nbsp;</td>
                                <td style="padding: 5px">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td align="right" colspan="1" style="padding: 5px;">
                                    35</td>
                                <td align="right" colspan="1" style="padding: 5px;">
                                    ผลิตภัณฑ์</td>
                                <td style="padding: 5px">
                                    <asp:DropDownList ID="ddlPRODUCT_NAME" runat="server" Width="250px">
                                    </asp:DropDownList>
                                    &nbsp;&nbsp;&nbsp;
                                    <asp:Button ID="btAddProduct" runat="server" Text="เพิ่ม" Width="40px" />
                                    <asp:Button ID="btDelProduct" runat="server" 
                                        OnClientClick="return confirm('ยืนยันการลบข้อมูล');" Text="ลบ" Width="40px" />
                                </td>
                                <td align="right" style="padding: 5px">
                                    &nbsp;</td>
                                <td style="padding: 5px">
                                    &nbsp;</td>
                                <td align="right" style="padding: 5px">
                                    &nbsp;</td>
                                <td style="padding: 5px">
                                    &nbsp;</td>
                            </tr>
                     <tr>
                        <td align="right">
                            36</td>
                        <td align="right" style="padding: 5px; width: 202px;">
                            &nbsp;</td>
                        <td style="padding: 5px;" colspan="3">
                            <asp:GridView ID="grdPRODUCT" runat="server" AutoGenerateColumns="False" 
                                CellPadding="4" ForeColor="#333333" ShowHeaderWhenEmpty="True" 
                                Width="500px">
                                <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                                <Columns>
                                   
                                   <asp:CommandField ButtonType="Image" 
                                        SelectImageUrl="~/img/icon/select_icon.gif" ShowSelectButton="True">
                                    <ItemStyle HorizontalAlign="Center" Width="60px" />
                                    </asp:CommandField>

                                    <asp:BoundField DataField="PRODUCTNAME" HeaderText="ผลิตภัณฑ์">
                                    <ItemStyle HorizontalAlign="Center" Width="200px" />
                                    </asp:BoundField>                                                                  

                                    <asp:BoundField DataField="PRODUCTCODE" HeaderText="รหัส"
                                    HeaderStyle-CssClass="hidden" ItemStyle-CssClass="hidden">
                                    <HeaderStyle HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="Center" />
                                    </asp:BoundField>

                                    <asp:BoundField DataField="RISK" HeaderText="ระดับความเสี่ยง">
                                        <HeaderStyle HorizontalAlign="Center" />
                                        <ItemStyle HorizontalAlign="Center" Width="150px" />
                                    </asp:BoundField>

                                    <asp:TemplateField HeaderText="Active">
                                        <ItemTemplate>
                                            <asp:CheckBox ID="chk_ACT_PRODUCT" runat="server" AutoPostBack="True" 
                                                Checked='<%# eval("ACTIVE") %>' 
                                                oncheckedchanged="chk_ACT_PRODUCT_CheckedChanged" />
                                        </ItemTemplate>
                                        <HeaderStyle HorizontalAlign="Center" />
                                        <ItemStyle HorizontalAlign="Center" Width="50px" />
                                    </asp:TemplateField>
                                </Columns>
                                <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                                <PagerSettings Mode="NumericFirstLast" />
                                <PagerStyle BackColor="#FFCC66" CssClass="cssPager" ForeColor="#333333" 
                                    HorizontalAlign="Center" />
                                <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                                <HeaderStyle BackColor="#FF9933" Font-Bold="True" ForeColor="White" />
                                <AlternatingRowStyle BackColor="White" />
                            </asp:GridView>
                            <asp:Label ID="lblCount_Product" runat="server" Text="0"></asp:Label>
                            &nbsp;รายการ</td>
                    </tr>
                            <tr>
                                <td align="right">
                                    &nbsp;</td>
                                <td align="right" style="padding: 5px; width: 202px;">
                                    บริการเสริม</td>
                                <td colspan="3" style="padding: 5px;">
                                    <asp:DropDownList ID="ddlADDED_SERVICE" runat="server" Width="200px">
                                    </asp:DropDownList>
                                    &nbsp;&nbsp;&nbsp;
                                    <asp:Button ID="btAdd_ADDEDSERVICE" runat="server" Text="เพิ่ม" Width="40px" />
                                    <asp:Button ID="btDelAddedService" runat="server" 
                                        OnClientClick="return confirm('ยืนยันการลบข้อมูล');" Text="ลบ" Width="40px" />
                                </td>
                            </tr>
                    <tr>
                        <td align="right">
                            37</td>
                        <td align="right" style="padding: 5px; width: 202px;">
                            &nbsp;</td>
                        <td style="padding: 5px;" colspan="3">
                            <asp:GridView ID="grdAddedService" runat="server" AutoGenerateColumns="False" CellPadding="4"
                                ForeColor="#333333" ShowHeaderWhenEmpty="True" Width="500px">
                                <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                                <Columns>
                                    <asp:CommandField ButtonType="Image" SelectImageUrl="~/img/icon/select_icon.gif"
                                        ShowSelectButton="True">
                                        <ItemStyle HorizontalAlign="Center" Width="60px" />
                                    </asp:CommandField>
                                    <asp:BoundField DataField="ADDEDSERVICENAME" HeaderText="บริการเสริม">
                                        <ItemStyle HorizontalAlign="Center" Width="200px" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="ADDEDSERVICECODE" HeaderText="รหัส" HeaderStyle-CssClass="hidden"
                                        ItemStyle-CssClass="hidden">
                                        <HeaderStyle HorizontalAlign="Center" />
                                        <ItemStyle HorizontalAlign="Center" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="RISK" HeaderText="ระดับความเสี่ยง">
                                        <HeaderStyle HorizontalAlign="Center" />
                                        <ItemStyle HorizontalAlign="Center" Width="150px" />
                                    </asp:BoundField>
                                    <asp:TemplateField HeaderText="Active">
                                        <ItemTemplate>
                                            <asp:CheckBox ID="chk_ACT_ADDEDSERVICE" runat="server" AutoPostBack="True" Checked='<%# eval("ACTIVE") %>'
                                                OnCheckedChanged="chk_ACT_ADDEDSERVICE_CheckedChanged" />
                                        </ItemTemplate>
                                        <HeaderStyle HorizontalAlign="Center" />
                                        <ItemStyle HorizontalAlign="Center" Width="50px" />
                                    </asp:TemplateField>
                                </Columns>
                                <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                                <PagerSettings Mode="NumericFirstLast" />
                                <PagerStyle BackColor="#FFCC66" CssClass="cssPager" ForeColor="#333333" HorizontalAlign="Center" />
                                <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                                <HeaderStyle BackColor="#FF9933" Font-Bold="True" ForeColor="White" />
                                <AlternatingRowStyle BackColor="White" />
                            </asp:GridView>
                            <asp:Label ID="lblCount_AddedService" runat="server" Text="0"></asp:Label>
                            &nbsp;รายการ</td>
                    </tr>
                            <tr bgcolor="#FF9933">
                                <td style="padding: 5px;" colspan="1" align="right">
                                    &nbsp;</td>
                                <td align="center" colspan="6" style="padding: 5px">
                                    <strong style="padding: 5px">ข้อมูลผู้รับผลประโยชน์ที่แท้จริง (BO:Beneficial Owner)</strong></td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td align="right" colspan="1" style="padding: 5px;">
                                    38</td>
                                <td align="right" style="padding: 5px;" colspan="6">
                                    <table class="dxflInternalEditorTable">
                                        <tr>
                                            <td style="width: 8%">
                                                เลขที่บัตรประจำตัวประชาชน<br /> </td>
                                            <td align="left" style="width: 12%">
                                                <asp:TextBox ID="txtBO_uniqueID" runat="server" 
                                                MaxLength="13" Width="150px" onkeypress="javascript:return NumberOnly(event);"></asp:TextBox>
                                                <asp:Button ID="btnSearch_BO" runat="server" Text="ค้นข้อมูล" Width="80px" />
                                                <asp:Button ID="btnClear_BO" runat="server" style="height: 26px" Text="..." 
                                                    Width="40px" />
                                            </td>
                                            <td style="width: 3%">
                                                เลขที่หนังสือเดินทาง<br /></td>
                                            <td align="left" style="width: 22%">
                                                <asp:TextBox ID="txtBO_PASSPORT_NO" runat="server" Width="150px"></asp:TextBox>
                                            </td>
                                            <td style="width: 2%">
                                                &nbsp;</td>
                                            <td align="left" style="width: 2%">
                                                &nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td style="width: 10%">
                                                เอกสารสำคัญประจำตัวบุคคลอื่นๆ</td>
                                            <td align="left" style="width: 15%">
                                                <asp:DropDownList ID="ddlOTH_ID_BO" runat="server" Width="250px">
                                                </asp:DropDownList>
                                            </td>
                                            <td style="width: 8%">
                                                เลขที่<br /> </td>
                                            <td align="left" style="width: 20%">
                                                <asp:TextBox ID="txtOTH_ID_NO_BO" runat="server" Width="150px"></asp:TextBox>
                                                <asp:Label ID="lblBO_uniqueID" runat="server" Text="Label" Visible="False"></asp:Label>
                                            </td>
                                    </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td align="right" colspan="1" style="padding: 5px;">
                                    39</td>
                                <td align="right" colspan="6" style="padding: 5px;">
                                    <table class="dxflInternalEditorTable">
                                        <tr>
                                            <td style="width: 10%">
                                                คำนำหน้าชื่อ :</td>
                                        <td align="left" style="width: 10%">
                                            <asp:DropDownList ID="ddlPrefixTH_BO" runat="server" AutoPostBack="true" 
                                                BackColor="White" CssClass="control" Width="150px">
                                            </asp:DropDownList>
                                            </td>
                                        <td style="width: 8%">
                                            ชื่อ :</td>
                                        <td align="left" style="width: 15%">
                                            <asp:TextBox ID="txtBO_FIRSTNAME_TH" runat="server" Width="150px"></asp:TextBox>
                                        </td>
                                        <td style="width: 10%">
                                            ชื่อกลาง :</td>
                                        <td align="left" style="width: 15%">
                                            <asp:TextBox ID="txtBO_MIDNAME_TH" runat="server" Width="150px"></asp:TextBox>
                                            </td>
                                        <td style="width: 8%">
                                            นามสกุล :</td>
                                        <td align="left" style="width: 30%">
                                            <asp:TextBox ID="txtBO_LASTNAME_TH" runat="server" Width="150px"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 10%">
                                                Prefix :
                                            </td>
                                            <td align="left" style="width: 10%">
                                                <asp:DropDownList ID="ddlPrefixEN_BO" runat="server" AutoPostBack="True" 
                                                    BackColor="White" CssClass="control" Width="150px">
                                                </asp:DropDownList>
                                            </td>
                                            <td style="width: 8%">
                                                First Name :
                                            </td>
                                            <td align="left" style="width: 15%">
                                                <asp:TextBox ID="txtBO_FIRSTNAME_EN" runat="server" CssClass="control" Height="20px" 
                                                    MaxLength="100" Width="150px" onkeypress="javascript:return EngOnly(event);"></asp:TextBox>
                                            </td>
                                            <td style="width: 10%">
                                                Middle Name :
                                            </td>
                                            <td align="left" style="width: 15%">
                                                <asp:TextBox ID="txtBO_MIDNAME_EN" runat="server" CssClass="control" Height="20px" 
                                                    MaxLength="50" Width="150px" onkeypress="javascript:return EngOnly(event);"></asp:TextBox>
                                            </td>
                                            <td style="width: 8%">
                                                Last Name :
                                            </td>
                                            <td align="left" style="width: 30%">
                                                <asp:TextBox ID="txtBO_LASTNAME_EN" runat="server" CssClass="control" Height="20px" 
                                                    MaxLength="150" Width="150px" onkeypress="javascript:return EngOnly(event);"></asp:TextBox>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td align="right" colspan="1" style="padding: 5px;">
                                    40</td>
                                <td align="right" colspan="1" style="padding: 5px;">
                                    ความสัมพันธ์กับเจ้าของบัญชี</td>
                                <td style="padding: 5px">
                                    <asp:TextBox ID="txtBO_ACC_OWN_RELATION" runat="server" Width="150px"></asp:TextBox>
                                    <asp:TextBox ID="txtBO_CIF_NO" runat="server" Visible="False" Width="20px"></asp:TextBox>
                                </td>
                                <td align="right" style="padding: 5px">
                                    ผลการตรวจกรอง</td>
                                <td style="padding: 5px">
                                    <asp:Label ID="lblFILTER_RESULT_BO" runat="server" Enabled="False" 
                                        ForeColor="Red" Width="150px"></asp:Label>
                                </td>
                                <td align="right" style="padding: 5px" >
                                    Risk Level </td>
                                <td style="padding: 5px">
                                    <asp:Label ID="lblRISK_LEVEL_BO" runat="server" Enabled="False" ForeColor="Red" 
                                        Width="150px"></asp:Label>
                                    </td>
                            </tr>
                            <tr bgcolor="#FDF6DA">
                                <td align="right" colspan="1" style="padding: 5px;">
                                    41</td>
                                <td align="right" colspan="1" style="padding: 5px;">
                                    &nbsp;</td>
                                <td style="padding: 5px">
                                    &nbsp;</td>
                                <td align="right" style="padding: 5px">
                                    &nbsp;</td>
                                <td style="padding: 5px" colspan="3">
                                    <asp:Button ID="btnFilter_BO" runat="server" Text="ตรวจกรองรายชื่อ" 
                                        Width="130px" />
                                    <asp:Button ID="btAddBo" runat="server" Text="เพิ่ม" 
                                        Width="40px" style="height: 26px" />
                                    <asp:Button ID="btDelBo" runat="server" Text="ลบ" Width="40px" OnClientClick="return confirm('ยืนยันการลบข้อมูล');"  />
                                </td>
                            </tr>
                            <tr>
                                <td align="right" colspan="1" style="padding: 5px;">
                                    42</td>
                                <td align="left" colspan="6" style="padding: 5px;">

                                    <asp:GridView ID="grdBo" runat="server" AutoGenerateColumns="False" CellPadding="4"
                                        ForeColor="#333333" ShowHeaderWhenEmpty="True" Width="100%">
                                        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                                        <Columns>
                                            <asp:CommandField ButtonType="Image" SelectImageUrl="~/img/icon/select_icon.gif"
                                                ShowSelectButton="True">
                                                <ItemStyle HorizontalAlign="Center" Width="20px" />
                                            </asp:CommandField>
                                            <asp:BoundField DataField="CIF_NO" HeaderStyle-CssClass="hidden" ItemStyle-CssClass="hidden"
                                                HeaderText="CIF Number">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="UNIQUEID" HeaderText="เลขที่บัตรประชาชน">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="PASSPORT_NO" HeaderText="เลขที่หนังสือเดินทาง">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                                            </asp:BoundField>
                                            
                                            <asp:BoundField DataField="OTH_ID_TYPE" HeaderText="รหัส" HeaderStyle-CssClass="hidden"
                                                ItemStyle-CssClass="hidden">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="OTH_ID_DESC" HeaderText="ประเภทเอกสาร">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="OTH_ID_NO" HeaderText="เลขที่เอกสาร">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                                            </asp:BoundField>

                                            <asp:BoundField DataField="THPREFIX" HeaderText="รหัสคำนำหน้า" HeaderStyle-CssClass="hidden"
                                                ItemStyle-CssClass="hidden">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="THPREFIX_DESC" HeaderText="คำนำหน้าชื่อ">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="THFIRSTNAME" HeaderText="ชื่อ">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="THMIDNAME" HeaderText="ชื่อกลาง">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="THLASTNAME" HeaderText="นามสกุล">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="ENPREFIX" HeaderText="Prefix" HeaderStyle-CssClass="hidden"
                                                ItemStyle-CssClass="hidden">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="ENPREFIX_DESC" HeaderText="Prefix" HeaderStyle-CssClass="hidden" 
                                                ItemStyle-CssClass="hidden">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="ENFIRSTNAME" HeaderText="Name" HeaderStyle-CssClass="hidden" 
                                                ItemStyle-CssClass="hidden">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="ENMIDNAME" HeaderText="Mid Name" HeaderStyle-CssClass="hidden" 
                                                ItemStyle-CssClass="hidden">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="ENLASTNAME" HeaderText="Last Name" HeaderStyle-CssClass="hidden" 
                                                ItemStyle-CssClass="hidden">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="ACC_OWN_RELATION" HeaderText="ความสัมพันธ์กับเจ้าของบัญชี">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="150px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="FILTER_RESULT" HeaderText="ผลการตรวจกรอง">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="RISK_LEVEL" HeaderText="ระดับความเสี่ยง">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="80px" />
                                            </asp:BoundField>
                                            <asp:TemplateField HeaderText="Active">
                                                <ItemTemplate>
                                                    <asp:CheckBox ID="chk_ACT_CUST_BO" runat="server" Checked='<%# eval("ACTIVE") %>'
                                                        AutoPostBack="True" OnCheckedChanged="chk_ACT_CUST_BO_CheckedChanged" />
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="Center" Width="50px" />
                                            </asp:TemplateField>
                                        </Columns>
                                        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                                        <PagerSettings Mode="NumericFirstLast" />
                                        <PagerStyle BackColor="#FFCC66" CssClass="cssPager" ForeColor="#333333" HorizontalAlign="Center" />
                                        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                                        <HeaderStyle BackColor="#FF9933" Font-Bold="True" ForeColor="White" />
                                        <AlternatingRowStyle BackColor="White" />
                                    </asp:GridView>

                                    <asp:Label ID="lblCount_BO" runat="server" Text="0"></asp:Label>
                                    &nbsp;รายการ</td>
                            </tr>
                        <tr>
                            <td align="right" colspan="1" style="padding: 5px;">
                                &nbsp;
                            </td>
                            <td align="right" colspan="6" style="padding: 5px;">
                                <table class="dxflInternalEditorTable">
                                    <tr>
                                        <td align="right" style="width: 10%">
                                            <asp:Label ID="Label25" runat="server" ForeColor="Black" 
                                                Text="ผลการตรวจกรอง BO"></asp:Label>
                                        </td>
                                        <td align="left" style="width: 10%">
                                            <asp:Label ID="lblEVAL_Sanct_list_BO" runat="server" ForeColor="Blue"></asp:Label>
                                        </td>
                                        <td align="left" style="width: 5%">
                                            <asp:Label ID="lblEVAL_Sanct_Score_BO" runat="server" ForeColor="Blue" Text="0"></asp:Label>
                                        </td>
                                        <td align="right" style="width: 10%">
                                            &nbsp;</td>
                                        <td align="left" style="width: 10%">
                                            &nbsp;</td>
                                        <td align="left" style="width: 5%">
                                            &nbsp;</td>
                                        <td align="right" style="width: 10%">
                                            &nbsp;</td>
                                        <td align="left" style="width: 10%">
                                            &nbsp;</td>
                                        <td align="left" style="width: 5%">
                                            &nbsp;</td>
                                        <td align="right" style="width: 10%; margin-left: 40px;">
                                            &nbsp;</td>
                                        <td align="left" style="width: 10%; margin-left: 40px;">
                                            &nbsp;</td>
                                        <td align="left" style="width: 5%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 7%">
                                            <asp:Label ID="Label2" runat="server" ForeColor="Black" Text="ผลการตรวจกรอง"></asp:Label>
                                        </td>
                                        <td align="left" style="width: 15%">
                                            <asp:Label ID="lblEVAL_Sanct_list" runat="server" ForeColor="Blue" Text=""></asp:Label>
                                        </td>
                                        <td align="left" style="width: 3%">
                                            <asp:Label ID="lblEVAL_Sanct_Score" runat="server" ForeColor="Blue" Text="0"></asp:Label>
                                        </td>
                                        <td align="right" style="width: 7%">
                                            <asp:Label ID="Label4" runat="server" ForeColor="Black" Text="อาชีพ"></asp:Label>
                                        </td>
                                        <td align="left" style="width: 15%">
                                            <asp:Label ID="lblEVAL_OCC" runat="server" ForeColor="Blue" Text=""></asp:Label>
                                        </td>
                                        <td align="left" style="width: 3%">
                                            <asp:Label ID="lblEVAL_OCC_SCORE" runat="server" ForeColor="Blue" Text="0"></asp:Label>
                                        </td>
                                        <td align="right" style="width: 5%">
                                            <asp:Label ID="Label5" runat="server" ForeColor="Black" Text="สัญชาติ"></asp:Label>
                                        </td>
                                        <td align="left" style="width: 15%">
                                            <asp:Label ID="lblEVAL_NATION" runat="server" ForeColor="Blue" Text=""></asp:Label>
                                        </td>
                                        <td align="left" style="width: 1%">
                                            <asp:Label ID="lblEVAL_NATION_SCORE" runat="server" ForeColor="Blue" Text="0"></asp:Label>
                                        </td>
                                        <td align="right" style="width: 7%; margin-left: 40px;">
                                            <asp:Label ID="Label6" runat="server" ForeColor="Black" 
                                                Text="ที่อยู่"></asp:Label>
                                        </td>
                                        <td align="left" style="width: 13%; margin-left: 40px;">
                                            <asp:Label ID="lblEVAL_RESIDENT" runat="server" ForeColor="Blue"></asp:Label>
                                        </td>
                                        <td align="left" style="width: 5%">
                                            <asp:Label ID="lblEVAL_RESIDENT_SCORE" runat="server" ForeColor="Blue" Text="0"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 12%">
                                            <asp:Label ID="Label7" runat="server" ForeColor="Black" 
                                                Text="ประเทศที่มารายได้"></asp:Label>
                                        </td>
                                        <td align="left" style="width: 10%">
                                            <asp:Label ID="lblEVAL_INC_SOURCE" runat="server" ForeColor="Blue" Text=""></asp:Label>
                                        </td>
                                        <td align="left" style="width: 5%">
                                            <asp:Label ID="lblEVAL_INC_SOURCE_SCORE" runat="server" ForeColor="Blue" Text="0"></asp:Label>
                                        </td>
                                        <td align="right" style="width: 7%">
                                            <asp:Label ID="Label23" runat="server" ForeColor="Black" Text="ผลิตภัณฑ์"></asp:Label>
                                        </td>
                                        <td align="left" style="width: 10%">
                                            <asp:Label ID="lblEVAL_PRODUCT" runat="server" ForeColor="Blue" Text=""></asp:Label>
                                        </td>
                                        <td align="left" style="width: 5%">
                                            <asp:Label ID="lblEVAL_PRODUCT_SCORE" runat="server" ForeColor="Blue" Text="0"></asp:Label>
                                        </td>
                                        <td align="right" style="width: 8%">
                                            <asp:Label ID="Label9" runat="server" ForeColor="Black" Text="บริการเสริม"></asp:Label>
                                        </td>
                                        <td align="left" style="width: 10%">
                                            <asp:Label ID="lblEVAL_ADD_SERV" runat="server" ForeColor="Blue" Text=""></asp:Label>
                                        </td>
                                        <td align="left" style="width: 5%">
                                            <asp:Label ID="lblEVAL_ADD_SERV_SCORE" runat="server" ForeColor="Blue" Text="0"></asp:Label>
                                        </td>
                                        <td align="right" style="width: 12%">
                                            <asp:Label ID="Label10" runat="server" ForeColor="Black" Text="การเดินธุรกรรม"></asp:Label>
                                        </td>
                                        <td align="left" style="width: 10%">
                                            <asp:Label ID="lblEVAL_BIZ_TRAN" runat="server" ForeColor="Blue" Text=""></asp:Label>
                                        </td>
                                        <td align="left" style="width: 5%">
                                            <asp:Label ID="lblEVAL_BIZ_TRAN_SCORE" runat="server" ForeColor="Blue" Text="0"></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        </table>
                    </ContentTemplate>
                </asp:UpdatePanel>
                <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional" 
                    Visible="False">
                    <ContentTemplate>
                        <table style="width: 100%; visibility: hidden; display: none;" class="control" 
                            border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td style="width: 16px">
                                    &nbsp;</td>
                                <td style="text-align: right">
                                    <table style="width: 100%;">
                                        <tr>
                                            <td style="width: 100px">
                                                &nbsp;
                                            </td>
                                            <td style="text-align: left">
                                                &nbsp;</td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </ContentTemplate>
                </asp:UpdatePanel>
                <asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional" 
                    Visible="False">
                    <ContentTemplate>
                        <table style="width: 100%; visibility: hidden; display: none;" class="control" 
                            border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td style="width: 16px">
                                    &nbsp;
                                </td>
                                <td style="width: 150px">
                                    &nbsp;
                                    <asp:Image ID="Image2" runat="server" ImageUrl="~/img/icon/accept.png" 
                                        Visible="False" />
                                    <asp:Image ID="Image3" runat="server" ImageUrl="~/img/icon/accept.png" 
                                        Visible="False" />
                                    <asp:Image ID="Image4" runat="server" ImageUrl="~/img/icon/accept.png" 
                                        Visible="False" />
                                    <asp:Image ID="Image5" runat="server" ImageUrl="~/img/icon/accept.png" 
                                        Visible="False" />
                                </td>
                                <td style="text-align: left">
                                    <table style="width: 100%;">
                                        <tr>
                                            <td style="width: 100px; text-align: right;">
                                                อาชีพ 2 :
                                            </td>
                                            <td style="text-align: left">
                                                <asp:DropDownList ID="ddlOccupation2" runat="server" AutoPostBack="True" CssClass="control"
                                                    Width="300px">
                                                </asp:DropDownList>
                                                &nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="lblOther21" runat="server" Text="อื่นๆ โปรดระบุ : "
                                                    Visible="False"></asp:Label>
                                                <asp:TextBox ID="txtOccOther2" runat="server" BackColor="#FFCCCC" CssClass="control"
                                                    Height="20px" MaxLength="100" Visible="False" Width="200px"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 100px; text-align: right;">
                                                ประเภทธุรกิจ :
                                            </td>
                                            <td style="text-align: left">
                                                <asp:DropDownList ID="ddlBusiness2" runat="server" AutoPostBack="True" CssClass="control"
                                                    Enabled="False" Width="300px">
                                                </asp:DropDownList>
                                                &nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="lblOther22" runat="server" Text="อื่นๆ โปรดระบุ : "
                                                    Visible="False"></asp:Label>
                                                <asp:TextBox ID="txtBizOther2" runat="server" BackColor="#FFCCCC" CssClass="control"
                                                    Height="20px" MaxLength="100" Visible="False" Width="200px"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 100px">
                                                &nbsp;
                                            </td>
                                            <td style="text-align: left">
                                                คำอธิบายเพิ่มเติมเกี่ยวกับอาชีพ : (ไม่มีผลต่อการประเมินความเสี่ยง)
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 100px">
                                                &nbsp;
                                            </td>
                                            <td style="text-align: left">
                                                <asp:TextBox ID="txtDes2" runat="server" CssClass="control" Height="50px" MaxLength="255"
                                                    TextMode="MultiLine" Width="90%"></asp:TextBox>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </ContentTemplate>
                </asp:UpdatePanel>
                <asp:UpdatePanel ID="UpdatePanel4" runat="server" UpdateMode="Conditional" 
                    Visible="False">
                    <ContentTemplate>
                        <table style="width: 100%; visibility: hidden; display: none;" class="control" 
                            border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td style="width: 16px">
                                    &nbsp;
                                </td>
                                <td style="width: 150px">
                                    &nbsp;
                                </td>
                                <td style="text-align: right">
                                    <table style="width: 100%;">
                                        <tr>
                                            <td style="width: 100px; text-align: right;">
                                                อาชีพ 3 :
                                            </td>
                                            <td style="text-align: left">
                                                <asp:DropDownList ID="ddlOccupation3" runat="server" AutoPostBack="True" CssClass="control"
                                                    Width="300px">
                                                </asp:DropDownList>
                                                &nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="lblOther31" runat="server" Text="อื่นๆ โปรดระบุ : "
                                                    Visible="False"></asp:Label>
                                                <asp:TextBox ID="txtOccOther3" runat="server" BackColor="#FFCCCC" CssClass="control"
                                                    Height="20px" MaxLength="100" Visible="False" Width="200px"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 100px; text-align: right;">
                                                ประเภทธุรกิจ :
                                            </td>
                                            <td style="text-align: left">
                                                <asp:DropDownList ID="ddlBusiness3" runat="server" AutoPostBack="True" CssClass="control"
                                                    Enabled="False" Width="300px">
                                                </asp:DropDownList>
                                                &nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="lblOther32" runat="server" Text="อื่นๆ โปรดระบุ : "
                                                    Visible="False"></asp:Label>
                                                <asp:TextBox ID="txtBizOther3" runat="server" BackColor="#FFCCCC" CssClass="control"
                                                    Height="20px" MaxLength="100" Visible="False" Width="200px"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 100px">
                                                &nbsp;
                                            </td>
                                            <td style="text-align: left">
                                                คำอธิบายเพิ่มเติมเกี่ยวกับอาชีพ : (ไม่มีผลต่อการประเมินความเสี่ยง)
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 100px">
                                                &nbsp;
                                            </td>
                                            <td style="text-align: left">
                                                <asp:TextBox ID="txtDes3" runat="server" CssClass="control" Height="50px" MaxLength="255"
                                                    TextMode="MultiLine" Width="90%"></asp:TextBox>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </ContentTemplate>
                </asp:UpdatePanel>
                <table style="width: 100%; visibility: hidden; display: none;" class="control" 
                    border="0" cellpadding="0" cellspacing="0">
                    <tr bgcolor="#FDF6DA">
                        <td style="width: 16px">
                            <asp:Image ID="Image6" runat="server" ImageUrl="~/img/icon/accept.png" Visible="False" />
                        </td>
                        <td colspan="8">
                            &nbsp; แหล่งที่มาของรายได้หลักมาจากประเทศ (ตอบได้มากกว่า 1 ประเทศ) :
                        </td>
                    </tr>
                    <tr bgcolor="#FDF6DA">
                        <td style="width: 16px">
                        </td>
                        <td style="width: 300px; text-align: right">
                            แหล่งที่ 1 :
                        </td>
                        <td>
                            &nbsp;</td>
                        <td colspan="2">
                        </td>
                    </tr>
                    <tr bgcolor="#FDF6DA">
                        <td style="width: 16px">
                        </td>
                        <td style="width: 300px; text-align: right">
                            แหล่งที่ 2 :
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlIncomeSource2" runat="server" CssClass="control" Width="300px">
                            </asp:DropDownList>
                        </td>
                        <td colspan="2">
                        </td>
                    </tr>
                    <tr bgcolor="#FDF6DA">
                        <td style="width: 16px">
                        </td>
                        <td style="width: 300px; text-align: right">
                            แหล่งที่ 3 :
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlIncomeSource3" runat="server" CssClass="control" Width="300px">
                            </asp:DropDownList>
                        </td>
                        <td colspan="2">
                        </td>
                    </tr>
                    <tr bgcolor="#FDF6DA">
                        <td style="width: 16px">
                            &nbsp;
                        </td>
                        <td style="width: 198px" align="right">
                            :
                        </td>
                        <td style="text-align: left" colspan="2">
                            <table>
                                <tr>
                                    <td>
                                        <asp:RadioButtonList ID="rdoAnsSalary" runat="server" AutoPostBack="True" CssClass="control"
                                            RepeatDirection="Horizontal" Width="313px">
                                            <asp:ListItem Value="0">ลูกค้าไม่ให้ข้อมูล</asp:ListItem>
                                            <asp:ListItem Value="1">ลูกค้าให้ข้อมูล</asp:ListItem>
                                        </asp:RadioButtonList>
                                    </td>
                                    <td>
                                        &nbsp;</td>
                                    <td colspan="3">
                                        <asp:Button ID="btnCheckSalary" runat="server" CssClass="control" 
                                            Text="เช็คยอดรายได้" Width="100px" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right;" colspan="3">
                            <span id="Processing" style="display: none">
                                <img src="../img/icon/ajax-loader.gif" alt="Please wait" />
                                กรุณารอสักครู่ ระบบกำลังประมวลผล... </span>
                        </td>
                       <td style="width: 200px"></td>
                    </tr>
                </table>
            </asp:Panel>
            <table style="width: 100%; visibility: hidden; display: none;" class="control" 
                border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td colspan="4" style="text-align: right;">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="text-align: right;" colspan="4">
                        <asp:Label ID="lblTextMsg" runat="server" Text="**กรณีแก้ไขข้อมูล กรุณากดปุ่มประเมินความเสี่ยงอีกครั้ง**"></asp:Label>
                    </td>
                </tr>
                <tr bgcolor="#FDF6DA">
                    <td style="width: 16px">
                        &nbsp;
                    </td>
                    <td style="width: 198px">
                        &nbsp;
                    </td>
                    <td style="text-align: right" class="dxmMenuItemSpacing">
                        &nbsp;
                    </td>
                    <td>
                        s</td>
                </tr>
                <tr bgcolor="#FDF6DA">
                    <td style="width: 16px">
                    </td>
                    <td style="width: 198px" align="right">
                        เลขที่บัญชี :
                    </td>
                    <td style="text-align: right" class="dxmMenuItemSpacing">
                        &nbsp;
                    </td>
                    <td>
                        <asp:RadioButtonList ID="rdoAcc" runat="server" AutoPostBack="True" CssClass="control"
                            RepeatDirection="Horizontal" Width="313px">
                            <asp:ListItem Value="0">บัญชีเปิดใหม่</asp:ListItem>
                            <asp:ListItem Value="1">ปรับปรุงข้อมูล (บัญชีเดิม)</asp:ListItem>
                        </asp:RadioButtonList>
                        <asp:HiddenField ID="hdfChkNewAcc" runat="server" />
                    </td>
                </tr>
                <tr bgcolor="#FDF6DA">
                    <td style="width: 16px">
                        &nbsp;
                    </td>
                    <td style="width: 198px">
                        &nbsp;
                    </td>
                    <td style="text-align: right" class="dxmMenuItemSpacing">
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlAcc" runat="server" CssClass="control" Visible="False" Width="300px">
                        </asp:DropDownList>
                    </td>
                </tr>
            </table>
            <table style="width: 100%;" class="control" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="padding: 5px; " align="right">
                        43</td>
                    <td align="right" colspan="3" style="padding: 5px;">
                        <asp:Button ID="btnFind_Higthest_Score" runat="server" CssClass="control" 
                            Text="Find Score" Visible="False" />
                        <asp:Button ID="btnEditCompile" runat="server" CssClass="control" 
                            Text="แก้ไขประเมินความเสี่ยง" Visible="False" />
                        <asp:Button ID="btnCompile" runat="server" CssClass="control" 
                            Text="ประเมินความเสี่ยง" Height="26px" />
                    </td>
                </tr>
                <tr bgcolor="#FF9933">
                    <td colspan="4" style="padding: 5px; text-align: center">
                        <strong>ผลการประเมินระดับความเสี่ยงด้านการฟอกเงิน(AML Risk Assessment)</strong>
                    </td>
                </tr>
                <tr>
                    <td style="padding: 5px; width: 16px">
                        44</td>
                    <td style="text-align: right;">
                        ระดับความเสี่ยง :
                    </td>
                    <td colspan="2">
                        <asp:TextBox ID="txtRiskLevel" runat="server" Width="200px" CssClass="control" Height="20px"
                            ReadOnly="True"></asp:TextBox>
                        &nbsp;<asp:Button ID="btnHistory" runat="server" CssClass="control" Text="ประวัติความเสี่ยง"
                            Width="120px" />
                        &nbsp;<asp:Label ID="lblRiskNow" runat="server" CssClass="control" Text="ความเสี่ยงปัจจุบัน"
                            Visible="False" Font-Bold="True"></asp:Label>
                        <asp:Label ID="lblLevel" runat="server" Visible="False">0</asp:Label>
                        <asp:Label ID="lblLevelOld" runat="server" Visible="False"></asp:Label>
                        <asp:HiddenField ID="hdfLevel" runat="server" />
                        <asp:HiddenField ID="hdfAML" runat="server" />
                    </td>
                </tr>
                <tr bgcolor="#FDF6DA">
                    <td style="padding: 5px; width: 16px">
                        40</td>
                    <td style="text-align: right;">
                        เหตุผลจากประเมินความเสี่ยง :
                    </td>
                    <td  >
                        <asp:TextBox ID="txtReason" runat="server"  style="width: 700px"  CssClass="control" ReadOnly="True"
                            Height="75px" TextMode="MultiLine"></asp:TextBox>
                    </td>
                    <td style="width: 100px">
                        <asp:TextBox ID="txtReasonSAS" runat="server" CssClass="control" Height="40px" 
                            ReadOnly="True" TextMode="MultiLine" Visible="False" Width="20px"></asp:TextBox>
                    </td>
                </tr>
                <tr bgcolor="#FDF6DA">
                    <td style="padding: 5px; width: 16px">
                        &nbsp;</td>
                    <td colspan="3" style="text-align: right;">
                        <table class="dxflInternalEditorTable">
                            <tr>
                                <td style="width: 10%">
                                    ประเมินครั้งต่อไปภายใน </td>
                                <td align="left" style="width: 10%">
                                    &nbsp;
                                    <asp:Label ID="lblPERIOD_MONTH" runat="server" ForeColor="Blue" 
                                        Text="0"></asp:Label>
                                    &nbsp; เดือน</td>
                                <td style="width: 5%">
                                    วันที่ประเมินครั้งต่อไป</td>
                                <td align="left" style="width: 15%">
                                    &nbsp;
                                    <asp:Label ID="lblNEXT_REVIEW" runat="server" ForeColor="Blue"></asp:Label>
                                </td>
                                <td style="width: 5%">
                                    &nbsp;
                                </td>
                                <td align="left" style="width: 20%">
                                    &nbsp;
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>

            <table style="width: 100%;" class="control" border="0" cellpadding="0" cellspacing="0">
                <tr bgcolor="#FF9933">
                    <td colspan="1" style="padding: 5px" align="right">
                        &nbsp;</td>
                    <td align="center" colspan="6" style="padding: 5px">
                        <strong>ข้อมูลบุคคลในครอบครัว(Family Members)</strong></td>
                </tr>
                <tr>
                    <td colspan="1" style="padding: 5px" align="right">
                        45</td>
                    <td align="left" style="padding: 5px;" colspan="1">
                        <asp:CheckBox ID="chkCustDeny_to_give_information" runat="server" 
                            AutoPostBack="True" Text="ลูกค้าปฏิเสธการให้ข้อมูล" />
                    </td>
                    <td colspan="5" style="padding: 5px">
                        &nbsp;</td>
                </tr>

                <tr>
                    <td align="right" colspan="1" style="padding: 5px">
                        46</td>
                    <td align="left" colspan="6" style="padding: 5px;">
                        <table class="dxflInternalEditorTable">
                            <tr>
                                <td style="width: 8%" align="right">
                                    เลขที่บัตรประจำตัวประชาชน<br />
                                </td>
                                <td align="left" style="width: 12%">
                                    <asp:TextBox ID="txtFAM_UNIQUEID" runat="server" BackColor="White" 
                                        CssClass="control" Height="20px" MaxLength="13" 
                                        Width="150px" onkeypress="javascript:return NumberOnly(event);"></asp:TextBox>
                                    <asp:Button ID="btnSearch_FAM" runat="server" Text="ค้นหา" Width="80px" />
                                    <asp:Button ID="btnClear_FAM" runat="server" Text="..." Width="40px" />
                                </td>
                                <td style="width: 5%" align="right">
                                    เลขที่หนังสือเดินทาง<br />
                                </td>
                                <td align="left" style="width: 20%">
                                    <asp:TextBox ID="txtFAM_PASSPORT_NO" runat="server" Width="150px"></asp:TextBox>
                                    <asp:TextBox ID="txtFAM_CIF_NO" runat="server" BackColor="White" 
                                        CssClass="control" Height="20px" MaxLength="100" Visible="False" Width="88px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 8%">
                                    เอกสารสำคัญประจำตัวบุคคลอื่นๆ</td>
                                <td align="left" style="width: 12%">
                                    <asp:DropDownList ID="ddlOTH_ID_FAM" runat="server" Width="250px">
                                    </asp:DropDownList>
                                </td>
                                <td align="right" style="width: 3%">
                                    เลขที่</td>
                                <td align="left" style="width: 20%">
                                    <asp:TextBox ID="txtOTH_ID_NO_FAM" runat="server" Width="150px"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>

                <tr>
                    <td align="right" colspan="1" style="padding: 5px">
                        47</td>
                    <td align="right" colspan="6" style="padding: 5px;">
                        <table class="dxflInternalEditorTable">
                            <tr>
                                <td style="width: 10%; height: 24px;">
                                    คำนำหน้าชื่อ :</td>
                                <td align="left" style="width: 10%; height: 24px;">
                                    <asp:DropDownList ID="ddlPrefixTH_FAM" runat="server" AutoPostBack="true" 
                                        BackColor="White" CssClass="control" Width="150px">
                                    </asp:DropDownList>
                                </td>
                                <td style="width: 8%; height: 24px;">
                                    ชื่อ :</td>
                                <td align="left" style="width: 15%; height: 24px;">
                                    <asp:TextBox ID="txtFAM_FIRSTNAME_TH" runat="server" BackColor="White" 
                                        CssClass="control" Height="20px" MaxLength="100" Width="150px"></asp:TextBox>
                                </td>
                                <td style="width: 10%; height: 24px;">
                                    ชื่อกลาง :</td>
                                <td align="left" style="width: 15%; height: 24px;">
                                    <asp:TextBox ID="txtFAM_MIDNAME_TH" runat="server" CssClass="control" 
                                        Height="20px" MaxLength="50" Width="150px"></asp:TextBox>
                                </td>
                                <td style="width: 8%; height: 24px;">
                                    นามสกุล :</td>
                                <td align="left" style="width: 30%; height: 24px;">
                                    <asp:TextBox ID="txtFAM_LASTNAME_TH" runat="server" BackColor="White" 
                                        CssClass="control" Height="20px" MaxLength="150" Width="150px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 10%">
                                    Prefix :</td>
                                <td align="left" style="width: 10%">
                                    <asp:DropDownList ID="ddlPrefixEN_FAM" runat="server" AutoPostBack="true" 
                                        BackColor="White" CssClass="control" Width="150px">
                                    </asp:DropDownList>
                                </td>
                                <td style="width: 8%">
                                    Name :</td>
                                <td align="left" style="width: 15%">
                                    <asp:TextBox ID="txtFAM_FIRSTNAME_EN" runat="server" BackColor="White" 
                                        CssClass="control" Height="20px" MaxLength="100" Width="150px" onkeypress="javascript:return EngOnly(event);"></asp:TextBox>
                                </td>
                                <td style="width: 10%">
                                    Middle Name :</td>
                                <td align="left" style="width: 15%">
                                    <asp:TextBox ID="txtFAM_MIDNAME_EN" runat="server" CssClass="control" 
                                        Height="20px" MaxLength="50" Width="150px" onkeypress="javascript:return EngOnly(event);"></asp:TextBox>
                                </td>
                                <td style="width: 8%">
                                    Surname</td>
                                <td align="left" style="width: 30%">
                                    <asp:TextBox ID="txtFAM_LASTNAME_EN" runat="server" BackColor="White" 
                                        CssClass="control" Height="20px" MaxLength="150" Width="150px" onkeypress="javascript:return EngOnly(event);"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td colspan="1" style="padding: 5px" align="right">
                        48</td>
                    <td align="right" style="padding: 5px;" colspan="1">
                        &nbsp;</td>
                    <td colspan="1" style="padding: 5px">
                        &nbsp;</td>
                    <td align="right" style="padding: 5px;" colspan="1">
                        &nbsp;</td>
                    <td style="padding: 5px;">
                        &nbsp;</td>
                    <td style="padding: 5px" align="right">
                        &nbsp;</td>
                    <td style="padding: 5px;">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td align="right" colspan="1" style="padding: 5px; height: 51px;">
                        49</td>
                    <td align="right" colspan="1" style="padding: 5px; height: 51px;">
                        ความสัมพันธ์กับลูกค้า<br /> <strong style="font-size: 10px">Relationship</strong></td>
                    <td colspan="1" style="padding: 5px; height: 51px;">
                        <asp:DropDownList ID="ddlFAM_CUS_RELATION" runat="server" Width="150px">
                            <asp:ListItem Value="00">ไม่ระบุความสัมพันธ์</asp:ListItem>
                            <asp:ListItem Value="01">คู่สมรส</asp:ListItem>
                            <asp:ListItem Value="02">บิดา</asp:ListItem>
                            <asp:ListItem Value="03">มารดา</asp:ListItem>
                            <asp:ListItem Value="04">บุตร</asp:ListItem>
                        </asp:DropDownList>
                        <asp:DropDownList ID="ddlFamPrefixTH" runat="server" AutoPostBack="true" 
                            BackColor="White" CssClass="control" Visible="False" Width="10%">
                        </asp:DropDownList>
                        <asp:DropDownList ID="ddlFamPrefixEn" runat="server" AutoPostBack="True" 
                            BackColor="White" CssClass="control" Visible="False" Width="10%">
                        </asp:DropDownList>
                    </td>
                    <td align="right" colspan="1" style="padding: 5px; height: 51px;">
                        ผลการตรวจกรอง</td>
                    <td style="padding: 5px; height: 51px;">
                        <asp:Label ID="lblFAM_FILTER_RESULT" runat="server" Enabled="False" 
                            ForeColor="Red" Width="150px"></asp:Label>
                    </td>
                    <td align="right" style="padding: 5px; height: 51px;">
                        Risk Level
                    </td>
                    <td style="padding: 5px; height: 51px;">
                        <asp:Label ID="lblFAM_RISK_LEVEL" runat="server" Enabled="False" 
                            ForeColor="Red" Width="150px"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="right" colspan="7" style="padding: 5px">
                        <asp:Button ID="btnFilter_Family" runat="server" Text="ตรวจกรองรายชื่อ" 
                            Width="130px" />
                        <asp:Button ID="btAddFamily" runat="server" Text="เพิ่ม" Width="40px" />
                        <asp:Button ID="btDelFamily" runat="server" Text="ลบ" Width="40px"  OnClientClick="return confirm('ยืนยันการลบข้อมูล');" />
                    </td>
                </tr>
                <tr>
                    <td align="right" colspan="1" style="padding: 5px">
                        50
                    </td>
                    <td align="left" colspan="6" style="padding: 5px;">
                        <asp:GridView ID="grdFamily" runat="server" AutoGenerateColumns="False" CellPadding="4"
                            ForeColor="#333333" ShowHeaderWhenEmpty="True" Width="100%">
                            <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                            <Columns>
                                <asp:CommandField ButtonType="Image" SelectImageUrl="~/img/icon/select_icon.gif"
                                    ShowSelectButton="True">
                                    <ItemStyle HorizontalAlign="Center" Width="60px" />
                                </asp:CommandField>
                                <asp:BoundField DataField="CIF_NO" HeaderText="เลขประจำตัวลูกค้า" HeaderStyle-CssClass="hidden" 
                                                ItemStyle-CssClass="hidden">
                                    <ItemStyle HorizontalAlign="Center" Width="100px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="UNIQUEID" HeaderText="เลขที่บัตรประชาชน">
                                    <ItemStyle HorizontalAlign="Center" Width="100px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="PASSPORT_NO" HeaderText="เลขที่หนังสือเดินทาง">
                                    <HeaderStyle HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="Center" Width="100px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="OTH_ID_TYPE" HeaderText="รหัส" HeaderStyle-CssClass="hidden"
                                    ItemStyle-CssClass="hidden">
                                    <HeaderStyle HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="Center" Width="100px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="OTH_ID_DESC" HeaderText="ประเภทเอกสาร">
                                    <HeaderStyle HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="Center" Width="100px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="OTH_ID_NO" HeaderText="เลขที่เอกสาร">
                                    <HeaderStyle HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="Center" Width="100px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="THPREFIX" HeaderText="รหัสคำนำหน้า" HeaderStyle-CssClass="hidden"
                                    ItemStyle-CssClass="hidden">
                                    <HeaderStyle HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="center" />
                                </asp:BoundField>
                                <asp:BoundField DataField="THPREFIX_DESC" HeaderText="คำนำหน้า">
                                    <HeaderStyle HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="center" />
                                </asp:BoundField>
                                <asp:BoundField DataField="THFIRSTNAME" HeaderText="ชื่อ">
                                    <HeaderStyle HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="center" />
                                </asp:BoundField>
                                <asp:BoundField DataField="THMIDNAME" HeaderText="ชื่อกลาง">
                                    <HeaderStyle HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="center" />
                                </asp:BoundField>
                                <asp:BoundField DataField="ENLASTNAME" HeaderText="นามสกุล">
                                    <HeaderStyle HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="center" />
                                </asp:BoundField>
                                <asp:BoundField DataField="ENPREFIX" HeaderText="Prefix Code" HeaderStyle-CssClass="hidden"
                                    ItemStyle-CssClass="hidden">
                                    <HeaderStyle HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="center" />
                                </asp:BoundField>
                                <asp:BoundField DataField="THPREFIX_DESC" HeaderText="Prefix" HeaderStyle-CssClass="hidden"
                                    ItemStyle-CssClass="hidden">
                                    <HeaderStyle HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="center" />
                                </asp:BoundField>
                                <asp:BoundField DataField="ENFIRSTNAME" HeaderStyle-CssClass="hidden" ItemStyle-CssClass="hidden"
                                    HeaderText="Name">
                                    <HeaderStyle HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="center" />
                                </asp:BoundField>
                                <asp:BoundField DataField="ENMIDNAME" HeaderStyle-CssClass="hidden" ItemStyle-CssClass="hidden"
                                    HeaderText="Middle Name">
                                    <HeaderStyle HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="center" />
                                </asp:BoundField>
                                <asp:BoundField DataField="ENLASTNAME" HeaderStyle-CssClass="hidden" ItemStyle-CssClass="hidden"
                                    HeaderText="Last Name">
                                    <HeaderStyle HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="center" />
                                </asp:BoundField>
                                <asp:BoundField DataField="CUST_RELATION" HeaderText="ความสัมพันธ์">
                                    <HeaderStyle HorizontalAlign="Center" Width="120px" />
                                    <ItemStyle HorizontalAlign="Center" Width="120px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="FILTER_RESULT" HeaderText="ผลการตรวจกรอง">
                                    <HeaderStyle HorizontalAlign="Center" Width="120px" />
                                    <ItemStyle HorizontalAlign="center" Width="120px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="RISK_LEVEL" HeaderText="Risk Level">
                                    <ItemStyle HorizontalAlign="center" Width="80px" />
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="Active">
                                    <ItemTemplate>
                                        <asp:CheckBox ID="chk_ACT_FAM_RELATE" runat="server" Checked='<%# eval("ACTIVE") %>'
                                            AutoPostBack="True" OnCheckedChanged="chk_ACT_FAM_RELATE_CheckedChanged" />
                                    </ItemTemplate>
                                    <HeaderStyle HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="Center" Width="50px" />
                                </asp:TemplateField>
                            </Columns>
                            <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <PagerSettings Mode="NumericFirstLast" />
                            <PagerStyle BackColor="#FFCC66" CssClass="cssPager" ForeColor="#333333" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                            <HeaderStyle BackColor="#FF9933" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="White" />
                        </asp:GridView>
                        <asp:Label ID="lblCount_Family" runat="server" Text="0"></asp:Label>
                        &nbsp;รายการ
                    </td>
                </tr>
            </table>

            <asp:Panel ID="PanelApprove" runat="server">
                <table style="width: 100%;" class="control" border="0" cellpadding="0" cellspacing="0">
                    <tr bgcolor="#FF9933">
                        <td colspan="3" style="text-align: center">
                            <strong>การอนุมัติ</strong>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 4px" bgcolor="#FDF6DA">
                            <asp:Image ID="Image7" runat="server" ImageUrl="~/img/icon/accept.png" Visible="False" />
                        </td>
                        <td style="width: 150px; text-align: right;" bgcolor="#FDF6DA">
                            สถานะการอนุมัติ :
                        </td>
                        <td bgcolor="#FDF6DA">
                            <asp:DropDownList ID="ddlApprove" runat="server" BackColor="#FFCCCC" CssClass="control"
                                Width="200px" AutoPostBack="True">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <%--<tr>
                     <td style="width: 4px">
                         <asp:Image ID="Image8" runat="server" ImageUrl="~/img/icon/accept.png" 
                             Visible="False" />
                     </td>
                     <td style="width: 150px; text-align: right;">
                         ผู้อนุมัติ :
                     </td>
                     <td>
                         <asp:TextBox ID="txtApprove" runat="server" BackColor="#FFCCCC" 
                             CssClass="control" Height="20px" Width="200px" Enabled="False"></asp:TextBox>
                     </td>
                 </tr>--%>
                    <tr>
                        <td style="width: 4px" bgcolor="#FDF6DA">
                            <asp:Image ID="Image9" runat="server" ImageUrl="~/img/icon/accept.png" Visible="False" />
                        </td>
                        <td style="width: 150px; text-align: right;" bgcolor="#FDF6DA">
                            รหัสผู้อนุมัติ :
                        </td>
                        <td bgcolor="#FDF6DA">
                            <asp:TextBox ID="txtApproveNo" runat="server" Width="200px" Height="20px" CssClass="control"
                                BackColor="#FFCCCC"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="#FDF6DA" style="width: 4px">
                            &nbsp;
                        </td>
                        <td bgcolor="#FDF6DA" style="width: 150px; text-align: right;">
                            รหัสผ่าน :
                        </td>
                        <td bgcolor="#FDF6DA">
                            <asp:TextBox ID="txtApprovePassword" runat="server" BackColor="#FFCCCC" CssClass="control"
                                Height="20px" TextMode="Password" Width="200px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 4px">
                            <asp:Image ID="Image10" runat="server" ImageUrl="~/img/icon/accept.png" Visible="False" />
                        </td>
                        <td style="width: 150px; text-align: right;">
                            วันที่อนุมัติ :
                        </td>
                        <td>
                            <asp:TextBox ID="txtDApproveDate" runat="server" Height="20px" CssClass="control"
                                BackColor="#FFCCCC"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:Panel ID="panelReasonApp" runat="server" Visible="true">
                <table style="width: 100%;" class="control" border="0" cellpadding="0" cellspacing="0">
                    <tr bgcolor="#FF9933">
                        <td colspan="3" style="text-align: center">
                            <strong>ข้อสังเกตุเกี่ยวกับการประเมินความเสี่ยงด้านการฟอกเงิน</strong>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 4px">
                            &nbsp;
                        </td>
                        <td style="width: 150px; text-align: right;">
                            <asp:Label ID="lblCount_Reason" runat="server" Text="0"></asp:Label>
                            &nbsp;รายการ&nbsp;&nbsp;&nbsp; </td>
                        <td>
                            <asp:TextBox ID="txtReasonApp" runat="server" Height="54px" TextMode="MultiLine"
                                Width="600px" MaxLength="145"></asp:TextBox>
                            &nbsp;<asp:Button ID="btAddReason" runat="server" Text="เพิ่ม" Width="40px" />
                            <asp:Button ID="btDelReason" runat="server" Text="ลบ" Width="40px" OnClientClick="return confirm('ยืนยันการลบข้อมูล');"  />
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 4px">
                            &nbsp;</td>
                        <td style="text-align: right;" colspan="2">
                            <asp:GridView ID="grdReason" runat="server" AutoGenerateColumns="False" 
                                CellPadding="4" ForeColor="#333333" ShowHeaderWhenEmpty="True" Width="100%">
                                <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                                <Columns>
                                    <asp:CommandField ButtonType="Image" SelectImageUrl="~/img/icon/select_icon.gif" ShowSelectButton="True">
                                        <ItemStyle Width="60px" HorizontalAlign="Center" />
                                    </asp:CommandField>                                                                       

                                    <asp:BoundField DataField="REASONS" HeaderText="ข้อสังเกตุเกี่ยวกับการประเมินความเสี่ยงด้านการฟอกเงิน">
                                        <HeaderStyle HorizontalAlign="Center" />
                                        <ItemStyle HorizontalAlign="left" />
                                    </asp:BoundField>

                                    <asp:BoundField DataField="USER_CREATED_DATE" HeaderText="วันทีบันทึกข้อความ">
                                        <HeaderStyle HorizontalAlign="Center" />
                                        <ItemStyle HorizontalAlign="Center" Width="200px" />
                                    </asp:BoundField>                                                                    

                                    <asp:BoundField DataField="USER_CREATED_BY" HeaderText="รหัสผู้บันทึก">
                                        <HeaderStyle HorizontalAlign="Center" />
                                        <ItemStyle HorizontalAlign="Center" Width="100px" />
                                    </asp:BoundField>

                                    <asp:TemplateField HeaderText="Active">
                                        <ItemTemplate>
                                            <asp:CheckBox ID="chk_ACT_REASON" runat="server" 
                                                Checked='<%# eval("ACTIVE") %>' AutoPostBack="True" 
                                                oncheckedchanged="chk_ACT_REASON_CheckedChanged" />
                                        </ItemTemplate>
                                        <HeaderStyle HorizontalAlign="Center" />
                                        <ItemStyle HorizontalAlign="Center" Width="50px" />
                                    </asp:TemplateField>
                                </Columns>
                                <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                                <PagerSettings Mode="NumericFirstLast" />
                                <PagerStyle BackColor="#FFCC66" CssClass="cssPager" ForeColor="#333333" 
                                    HorizontalAlign="Center" />
                                <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                                <HeaderStyle BackColor="#FF9933" Font-Bold="True" ForeColor="White" />
                                <AlternatingRowStyle BackColor="White" />
                            </asp:GridView>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <table style="width: 100%;" class="control" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="text-align: right">
                        <asp:Button ID="btnReport" runat="server" CssClass="control" Text="บันทึก/พิมพ์ประเมิน"
                            Visible="False" Width="160px" OnClientClick="return CheckAuthorize()" />
                        <asp:Button ID="btnKYC" runat="server" CssClass="control" Text="พิมพ์ฟอร์ม KYC" Width="160px"
                            Visible="False" />
                        <asp:Button ID="btnKYCNext" runat="server" CssClass="control" Text="ข้อมูล KYC" Width="160px" />
                        <asp:Button ID="btnCancel" runat="server" CssClass="control" Text="กลับหน้าหลัก"
                            Width="160px" />
                    </td>
                </tr>
            </table>

            <asp:HiddenField ID="hdfNameTH1" runat="server" Value="" />
            <asp:HiddenField ID="hdfNameTH2" runat="server" Value="" />
            <asp:HiddenField ID="hdfNameTH3" runat="server" Value="" />
            <asp:HiddenField ID="hdfNameEN1" runat="server" Value="" />
            <asp:HiddenField ID="hdfNameEN2" runat="server" Value="" />
            <asp:HiddenField ID="hdfNameEN3" runat="server" Value="" />
            <asp:HiddenField ID="hdfCID" runat="server" Value="" />
            <asp:HiddenField ID="hdfPassport" runat="server" Value="" />
            
            <input type="text" id="txtApprove" name='txtApprove' value="N" style="display:none" />
            <input type="text" id="txtAuthorizeOwner" name='txtAuthorizeOwner' style="display:none" />
            <input type="text" id="txtApproveDate" name='txtApproveDate' style="display:none" />
            <asp:HiddenField ID="hdApproveValue" runat="server" Value="" />
            <asp:HiddenField ID="hdAuthorizeOwner" runat="server" Value="" />

        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

